saxonb-xquery -V (return code: 2)
Static error in query: Query source file is empty
saxonb-xquery -HELP (return code: 2)
No query file name
Saxon 9.1.0.8J from Saxonica
Usage: java net.sf.saxon.Query [options] query {param=value}...
Options:
-backup:on|off Save updated documents before overwriting
-cr:classname Use specified CollectionURIResolver class
-dtd:on|off Validate using DTD
-expand:on|off Expand defaults defined in schema/DTD
-explain[:filename] Display compiled expression tree
-ext:[on|off] Allow|Disallow external Java functions
-l:on|off Line numbering for source document
-mr:classname Use specified ModuleURIResolver class
-o:filename Send output to named file
-outval:recover|fatal Handling of validation errors on result document
-p Recognize Saxon file extensions and query parameters
-pipe:push|pull Execute internally in push or pull mode
-projection:[on|off] Use|Don't use source document projection
-q:filename Query file name
-qs:string Query string (usually in quotes)
-r:classname Use URIResolver class
-repeat:N Repeat N times for performance measurement
-s:file|URI Provide initial context document
-sa Schema-aware query (requires Saxon-SA)
-strip:all|none|ignorable Strip whitespace text nodes
-t Display version and timing information
-traceout:file|#null Destination for fn:trace() output
-tree:tiny|linked Select tree model
-T[:classname] Use TraceListener class
-TJ Trace calls to external Java functions
-u Names are URLs not filenames
-update:on|off|discard Enable|Disable XQuery Update (needs Saxon-SA)
-val:strict|lax Validate using schema
-wrap:on|off Wrap result sequence in XML elements
-x:classname Parser (XMLReader) used for source files
-xi:on|off Expand XInclude on all documents
-xmlversion:1.0|1.1 Version of XML to be handled
-xsd:file;file.. Additional schema documents to be loaded
-xsdlversion:1.0|1.1 Version of XML Schema to be used
-xsiloc:on|off Take note of xsi:schemaLocation
-? Display this message
param=value Set query string parameter
+param=value Set query document parameter
!option=value Set serialization option