开发者

XmlNode returns in OuterXml unexpected namespace xmlns

开发者 https://www.devze.com 2023-04-03 20:19 出处:网络
I have XmlNode object with next attributes: But when i call OuterXml Property i have al开发者_运维百科l those attributes and also xmlns attribute with namespace included. But i dont wath to have th

I have XmlNode object with next attributes:

XmlNode returns in OuterXml unexpected namespace xmlns

But when i call OuterXml Property i have al开发者_运维百科l those attributes and also xmlns attribute with namespace included. But i dont wath to have this namespace there! How can i set to node properties not to show in OuterXml this attribute xmlns with namespace?

I need this clean outerxml because i use this xml in documents which already contains such namespace and i really dont need to set it in xml node.

0

精彩评论

暂无评论...
验证码 换一张
取 消