开发者

XmlNode returns in OuterXml unexpected namespace xmlns

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜