Changes

Jump to navigation Jump to search
275 bytes added ,  15:35, 12 November 2021
|-
| '''Summary'''
|When creating new nodes in XQuery via [https://www.w3.org/TR/xquery-31/#id-constructors Node Constructors], copies of all enclosed nodes will be copiedcreated, and all resulting the copied nodes will get new node identities. As a result, the following query yields <code>false</code>:<syntaxhighlight lang="xquery">let $a := <a/>let $b := <b>{ $a }</b>return $b/a is $a</syntaxhighlight>This step can be very expensiveand memory consuming. If the option is enabled, child nodes will only be linked to the new parent nodes, and it can be disabled with this optionthe upper query returns <code>true</code>. <br>The option should be used carefully, as it changes the standard behavior semantics of XQuery. It should preferrably be used in [[XQuery Extensions#Database Pragmas|Pragmas]].
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu