Changes

Jump to navigation Jump to search
411 bytes added ,  17:33, 10 December 2010
====rename====
 
<pre>
for $n in //node
return rename node $n as 'renamedNode'
</pre>
 
All node elements are renamed. The delete expression is the only one which allows a sequence of target nodes. An iterative approach as show above helps with other expression if more than one target is affected. In addition, nodes on the descendant- or attribute-axis of the target are not affected. This has to be done explicitly as well.
===Non-Updating Expressions===
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu