View Single Post
  #5 (permalink)  
Old May 24th, 2018, 06:42 AM
Martin Honnen Martin Honnen is offline
Friend of Wrox
Points: 6,673, Level: 34
Points: 6,673, Level: 34 Points: 6,673, Level: 34 Points: 6,673, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: Germany
Posts: 1,242
Thanks: 0
Thanked 244 Times in 243 Posts
Default

There is nothing in your code as posted that should change the namespace of the "MessageParts" elements and indeed it is not changed, however in the input the namespace is duplicated, the XSLT serializer then eliminates the duplicated declaration. That is not something you can avoid when using XSLT.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog

Last edited by Martin Honnen; May 24th, 2018 at 06:50 AM. Reason: Had a closer look
Reply With Quote