Changes

Jump to navigation Jump to search
94 bytes added ,  15:37, 7 December 2010
# A XQuery Update query can never return a result. So you can't combine reading queries and updating queries into one query, even if they are separated with a comma.
 
Example:
Incorrect:<pre>for $i in 1 to 10 return $i, insert nodes <test/> into root()</pre>
 
# Updates of a XQuery Update query are not visible until the whole query is finished. So values generated by subqueries are not usable in the other parts of the query.
# The order of XQuery Update functions in a query is irrelevant. There is a [http://www.w3.org/TR/xquery-update-10/#id-upd-apply-updates specification] which controls the execution order of the update functions.
bueraucrat, Bureaucrats, editor, reviewer, Administrators
907

edits

Navigation menu