Dear Nigel,
- Where is the main body of BaseX documentation?
Our homepage (docs & publications), the mailing list, and the source code all serve as documentation; due to lack ofresources, we can't offer you more.
- I can’t see a service on my machine called “BaseX”. What’s doing
the server-side work? I’m using Windows 7.
You have to start the BaseXServer in a console and then you can talk to it with your client. A service functionality which runs in the background of windows isnt available yet.
- The PHP example does this... $cmd = "xquery 1 to 10" which it sends
to the sever and gets a result. As far as I know that’s not a normal valid xquery command yet it returns a result ok. I would expect $cmd = "1 to 10" to work ok but not $cmd = "xquery 1 to 10". Do all queries to BaseX using the PHP API have to start with the string “xquery “, followed by the xquery itself?
You have to send the "xquery" keyword to the server for identify the correct command you want to execute. There are a lot of commands additional to "xquery" (see http://www.inf.uni-konstanz.de/dbis/basex/commands). If you use the QueryIteratorExample you can just send the query itself, like 1 to 10, cause here you can only execute queries and no other commands.
- Where’s the documentation for the PHP API so I can find the answer
to the above question myself?
There is a readme file (https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/) and the code files it self are documented.
- Is there a web-based forum for BaseX?
There is just this mailing-list, but your questions will be answered really fast.
I hope this helps, dont hesitate to ask for more.
Kind regards, Andreas
Nigel Alderton schrieb:
Hi, I’m a BaseX newbie struggling with the basic “Hello world” type stuff and struggling to find documentation to answer my questions...
Where is the main body of BaseX documentation?
I can’t see a service on my machine called “BaseX”. What’s doing
the server-side work? I’m using Windows 7.
- The PHP example does this... $cmd = "xquery 1 to 10" which it sends
to the sever and gets a result. As far as I know that’s not a normal valid xquery command yet it returns a result ok. I would expect $cmd = "1 to 10" to work ok but not $cmd = "xquery 1 to 10". Do all queries to BaseX using the PHP API have to start with the string “xquery “, followed by the xquery itself?
- Where’s the documentation for the PHP API so I can find the answer
to the above question myself?
- Is there a web-based forum for BaseX?
Thanks
Nigel
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de