Jump to navigation Jump to search
304 bytes added ,  22:59, 11 October 2017
A [[Options|local database option]] can also be assigned locally via a pragma. Examples: * Whitespace chopping is disabled for a particular document:
<pre class="brush:xquery">
(# db:chop false #) { doc('doc.xml') }
* {{Version|9.0}}: Enforce index rewriting if database name is not static:
<pre class="brush:xquery">
(# db:enforceindex #) {
for $db in ('persons1', 'persons2', 'persons3')
return db:open($db)//name[text() = 'John']
Bureaucrats, editor, reviewer, Administrators


Navigation menu