Writing a template for XSLT Copy-Of to transform a message with differences. How?
- by Emanuel Schuster
I have an xml message that is in the older schema (xsd) format. My new schema is exactly the same but I embedded an element inside the older one. For example :
My old schema had an element :
<exclude> MyRestriction </exclude>
but my new schema is like this :
<exclude> <restriction> MyRestriction </restriction> </exclude>
and the entire message is the same as before. Last time I used to do a copy-of but now
I need to have a template that copy-of everything but move the value of the exclude to the restriction tag. Anyone can help me please ?
Thanks