Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Remove XMLNS attribute

$
0
0
Hello ,
Is there a way to remove XMLNS attribute from the root node.I have read in lot of artilces that it cannot be removed as namespace has been attached to all the other elements . But In my case i am just using it to validate the file against one schema and then i need to save that xml file without the XMLNS attribute because it is been used by other system which cannot parse the file if there is a Namespace.

Thank You in advance,
Preet

Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>