Hi,
How can I transform nested XML elements with xslt, keeping the structure?
Let's say I have an XML document like this:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<node>
</node>
<node>
<node>
<node>
</node>
</node>
</node>
</root>
And I would like to get something like this:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element>
</element>
<element>
<element>
<element>
</element>
</element>
</element>
</root>
What kind of xslt should I use?
Thanks!