Changes

Jump to navigation Jump to search
3 bytes removed ,  11:57, 23 January 2016
==Command Scripts==
Multiple commands can be written down in a single line – separated by semicolons – or stored as command script. Database commands in both the string and XML syntax can be placed in a text file and stored on disk. The extension for as file with the BaseX command scripts is script suffix {{Code|.bxs}}. If the path to a script file is passed on to BaseX on command-line, or if it is opened in the GUI editor, 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 class="brush:xml">
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu