I'm trying to convert XML that is passed in, but retain the original xml in a new node.
Let's say the following XML is being transformed.
<Document>
<Number>12345</Number>
<Name>Person Name</Name>
</Document>
My desired output is this:
<Document>
<Number>12345</Number>
<OriginalXml>
<![CDATA[
^^ the above xml ^^
]]
</OriginalXml>
</Document>
I did in C# easily, but the dev manager wanted to see if it's doable in XSLT.
Thanks.