Input XML
<root><table>
<cell1>4324</cell1>
<cell2>543</cell2>
</table>
<table1>
<cell1>4324</cell1>
<cell2>543</cell2>
</table1></root>
I am trying to copy my xml node table, so everything stays the same only values should be removed. I would need output with xslt2 to be
<root><table>
<cell1></cell1>
<cell2></cell2>
</table>
<table1>
<cell1>4324</cell1>
<cell2>543</cell2>
</table1></root>
Please note that above example is only to show what i am trying to do - basically emptying all table node values. I know how to remove/copy for example specific node cell1 with text(), but can not figure out how to empty whole node like shown in example.
Any help would be appreciated :D Thanks a lot, Eoglasi