Changes

Jump to navigation Jump to search
4 bytes added ,  23:49, 3 January 2016
no edit summary
Database commands in both the string and XML syntax can be placed in a text file and stored on disk. The default extension for BaseX command scripts is {{Code|.bxs}}. If the path to a command script is passed on to BaseX, it will automatically be recognized and evaluated as such.
===String Syntax===
Multiple commands can be written in a single line and separated by semicolons, or stored as command script. Lines starting with <code>#</code> are interpreted as comments and are skipped. The following script creates a database, adds two documents to it and performs a query:
</pre>
===XML Syntax===
The string syntax is limited when XML snippets need to be embedded in a command,
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu