Changes

Jump to navigation Jump to search
129 bytes added ,  13:49, 30 March 2016
==Non-Updating Expressions==
===transformCopy Modify===
<pre class="brush:xquery">
</pre>
The {{Code|update}} expression is a BaseX-specific convenience operator for the {{Code|copy/modify/return}} construct.Similar to the [[XQuery 3.0#Simple Map Operator|XQuery 3.0 map operator]], the value of the first
expression is bound as context item, and the second expression performs updates on this item.
The updated item is returned as result.
{{Mark|Introduced with Version 8.5}}:
The {{Code|transform with}} expression was added to the current [https://www.w3.org/TR/xquery-update-30/#id-transform-with XQuery Update 3.0] working draft. It is a simple version of the [[#update|update]] expression and also available in BaseX: <pre class="brush:xquery"><xml>text</xml> transform with { replace value of node .with 'new-text'}</pre>
==Functions==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu