Writing a template for XSLT Copy-Of to transform a message with differences. How?
Posted
by
Emanuel Schuster
on Stack Overflow
See other posts from Stack Overflow
or by Emanuel Schuster
Published on 2012-03-20T17:26:34Z
Indexed on
2012/03/20
17:29 UTC
Read the original article
Hit count: 209
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
© Stack Overflow or respective owner