Changes

Jump to navigation Jump to search
52 bytes added ,  20:25, 14 June 2012
no edit summary
| Evaluates an XQuery expression. If the specified input is a valid file reference or URL, its content will be evaluated instead.
|
|{{Code|"doc('X')//head"}}<br/>{{Code|query.xq}}<br/>
|- valign="top"
| {{Code|-b&lt;pars&gt;}}
| Binds external variables to XQuery expressions. This flag may be specified multiple times. Variables names and their values are delimited by equality signs (<code>=</code>). The names may be optionally prefixed with dollar signs. If a variable uses a namespace different to the default namespace, it can be specified with the [http://www.jclark.com/xml/xmlns.htm Clark Notation].
| <code>[[Options#BINDINGS|BINDINGS]]</code>
| <code>-b$v=example -q$v</code><br/><code>-b{URL}ln=value<br/>-q"declare namespace ns='URL'; $ns:ln"</code>
|- valign="top"
| {{Code|-c&lt;input&gt;}}
* Since {{Version|7.3}}, commands can also be specified in the [[Commands#XML Syntax|XML Syntax]].
|
| {{Code|-c"list;info"}}<br/>{{Code|-ccommands.txt}}<br/>{{Code|-c"<info/>"}}
|- valign="top"
| {{Code|-d}}
|
|
|{{Code|"doc('X')//head"}}<br/>{{Code|query.xq}}<br/>
|- valign="top"
| {{Code|-b&lt;pars&gt;}}
| <code>[[Options#BINDINGS|BINDINGS]]</code>
|
| <code>-b$v=example -q$v</code><br/><code>-b{URL}ln=value<br/>-q"declare namespace ns='URL'; $ns:ln"</code>
|- valign="top"
| {{Code|-c&lt;input&gt;}}
|
|
| {{Code|-c"list;info"}}<br/>{{Code|-ccommands.txt}}<br/>{{Code|-c"<info/>"}}
|- valign="top"
| {{Code|-d}}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu