I have an XML document, and I want to change the values for one of the attributes.
First I copied everything from input to output using:
This problem has a classical solution: Using and overriding the identity template is one of the most fundamental and powerful XSLT design patterns:
When applied on this XML document:
value1 value2
the wanted result is produced: