====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===