# 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.
#: Incorrect Example: <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.