;Result:
<syntaxhighlight pre lang="xml">
<entry>
<title>Copy of: Transform expression example</title>
…applied on the document…
<syntaxhighlight pre lang="xml">
<doc> <a/> </doc>
</pre>
…results in the following document:
<syntaxhighlight pre lang="xml">
<doc> <renamed/><b/> </doc>
</pre>