Namespace and XSLT Problem

quwiltw

Well-known member
Joined
Sep 18, 2001
Messages
486
Location
Washington, D.C.
Im having a weird issue. Im essentially writing a dataset out and transforming it with XSLT. It works perfectly if I delete the namespace declaration on the root element but by default the Dataset includes this even if I put the mode in ignoreschema. Anyone seen this problem before?
 
Its even worse. For some reason I cant simply remove it through the DOM either, as it is apparently not treated like any other attribute on a node. My workaround is to pull out the outerxml as a string, rip off the namespace declaration with string manipulation and the loadXML with the string. Its not very elegant but it works. Id still like to know if anyone else has encountered this before?
 
Back
Top