Say I have a large XML file that the following structure:
<MyXml>
<Data1>
<Node1>1234</Node1>
<Node2>abc<Node2>
<Node3>gfdf</Node3>
...
<Node10000>more text</Node10000>
</Data1>
<Data2>
...
</Data2>
</MyXml>
I want to transform this XML into another XML that looks exactly the same, but has a certain string concatinated to a certain node, say Node766. I am using an XSLT of course and wondering how I can tell it to copy everyhing as-is except for Node766, where I have to do something before outputing it.
Start with an identity transform, and include a template match for your exception.