Hello,
Thank you for this system, which looks promising.
I would like to request better documentation to show how to do the most basic things. I am trying to create a new database and add a single new record to it. I don't want to start with a pre-written XML document. So using the command line client tool:
CREATE DB users
Database 'users' created in 214.89 ms.
Then I refer to the ADD command http://docs.basex.org/wiki/Commands#ADD which suggests an XML string can be added. So I try:
ADD <record>hello</record>
Name '' is invalid.
All the examples of ADD involve adding existing XML files. A path to the database is referred to, but having just created the database I have no idea what the path is.
Referring to tutorials and slides on page http://docs.basex.org/wiki/Getting_Started, the link to XMLPrague 2013 is broken. BaseX adventures starts at an advanced level of querying a host of XML files. W3Schools XQuery seems all about querying existing databases, I can't find anything on how to add or update a single record.
I'm sure with enough trial and error I'll work out how to do it. My point is that I feel it ought to be more obvious how to carry out the most basic CRUD operations.
Best regards, Thomas