Bind external variables to XQuery expression. Flag may be specified
multiple times; key/value pairs are separated by equality signs (=)
(-bv=example -q"declare variable $v external; $v")
Launch database commands and skip interactive mode. The flag should be placed last, all remaining characters are interpreted as commands. Several commands can be separated by semicolons. (-c"list;info")
Turn on debugging. Debugging information is output to standard error.
Specify the server name on which the server is running. (default: localhost, -nserver.basex.org)
Command and query output is written to the specified <file>.
Specify the port on which the server is running. (default: 1984, -p9999)
Specify the user password (-Uadmin-Padmin)
Execute the specified string as XQuery expression. The flag should be placed last, as all remaining characters are interpreted as XQuery. (-q"doc('input')//head")
Specify parameters for serializing XQuery results; This flag may be specified multiple times; key/value pairs are separated by equality signs (=). (-smethod=text)
Specify the user name (-Uadmin)
Process information is written to standard output.
Detailed query information is written to standard output, including compilation and profiling steps.
By default, whitespaces around text nodes are chopped when a database is created. This flag can be specified to suppress chopping.
Skip the serialization of XQuery results. This flag is useful for analyzing query plans.
BaseX started as a research project of the Database and Information Systems
Group (DBIS) at the University of Konstanz in 2005 and soon turned into a
feature-rich open source XML database and XPath/XQuery processor.