I’m strugging to get started with the BaseX RESTXQ API.
I’ve downloaded and installed the latest version of BaseX for Windows. I have started the BaseX Server by clicking the “BaseX Server (Start)” icon that the BaseX installation adds to the Windows Start menu.
It appears that I need to create a file with an .xqm extension (eg. hello.xqm) and put it somewhere.
-
Do you have a minimal “hello world” type example file eg.
hello.xqmto get me started? -
Where should I put the
hello.xqmfile so it runs on my default installation of BaseX? -
Where do I need to point my browser to and what should I see if it works?
Thanks.
We noticed that the web files in Version 7.3 of the Windows version of BaseX were accidentally moved to the bin directory. You’ll find a pre-packaged RESTXQ module in the latest (stable) snapshot of BaseX:
http://files.basex.org/releases/latest/
You may also have a look into the BaseX RESTXQ documentation:
http://docs.basex.org/wiki/RESTXQ