Ok. Is it easy to copy an XML file using XSLT and create an exact copy but without any values. Basically I just want the layout.
ie
<rootnode lang="EN">
<child1>Hello</child1>
<child2>
<child2_1>hello</child2_1>
</child2>
</rootnode>
and output
<rootnode lang="">
<child1></child1>
<child2>
<child2_1></child2_1>
</child2>
</rootnode>
This simple modification of the identity rule:
when applied on the provided XML document:
produces the wanted, correct result: