skip to main
|
skip to sidebar
HTML XML and Internet
Saturday, May 30, 2009
Remove XML comments
// Remove XML comments
XmlNodeList list = xmlDoc.SelectNodes("//comment()");
foreach(XmlNode node in list)
node.ParentNode.RemoveChild(node);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
About Me
Avinash Tiwari
View my complete profile
No comments:
Post a Comment