Hi Chas,
i hope i understand what you are trying to do. You are running a basex server and access it with the rest interface. Now you are getting the xml content of your database from the server and creating a local database with it to use the GUI features.
You could easily add a createdb function in your application code (what programming language are you using?), which creates a local database with the incoming content from the rest interface. After that just start the GUI and your database will be there.
But this process is cumbersome and is getting downright unwieldy as the size of the db grows.
The .basex file is just a property file, if you have access to the server you could also point your database path of the gui to the database folder from the basex server in the network, so all above steps wouldnt be necessary.
Kind regards, Andreas
Am 02.01.11 00:51, schrieb Charles F. Munat:
I have a project using an embedded Base-X db that I access through application code. I want to view this information using the Base-X GUI.
Currently, I use a REST interface to output the entire database as one large XML file. Then I import that file into Base-X using the GUI so that I can run queries on it with the benefits the GUI brings.
But this process is cumbersome and is getting downright unwieldy as the size of the db grows.
Thanks!
Chas. _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk