Changes

Jump to navigation Jump to search
No change in size ,  17:10, 1 February 2019
|
* {{Code|xquery:eval("1+3")}} returns {{Code|4}}.<br />
* If a URI is supplied, the query in the specified file will be evaluated:
<pre class='brush:xquery'>
xquery:eval(xs:anyURI('cleanup.xq'))
</pre>
* You can bind the context and e.g. operate on a certain database only:<br />
<pre class='brush:xquery'>
let $vars := map { xs:QName('pref:xml'): 'XML' }
return xquery:eval($query, $vars)
</pre>
* If a URI is supplied, the query in the specified file will be evaluated:
<pre class='brush:xquery'>
xquery:eval(xs:anyURI('cleanup.xq'))
</pre>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu