Top "Xmldocument" questions

The original .NET type that represents an XML document.

Removing CDATA tag from XmlNode

I have an XmlNode which represents the following xml for example: XmlNode xml.innerText = <book> <name>&…

c# xmldocument cdata xmlnode
How to remove all child nodes of an XmlElement, but keep all attributes?

How to remove all child nodes of an XmlElement, but keep all attributes? Note, that XmlElement.RemoveAll also removes all …

.net xmldocument xmldom
Webservice method return XmlDocument, Reference sees a XmlNode

I've faced a problem I can't solve that's why I beg you to help me! I'm working with a WebService …

asp.net web-services xmldocument xmlnode
XmlDocument reading XML Document comment Issue

I am using XmlDocument to parse xml file, but it seems that XmlDocument is always reading xml comments as a …

c# .net xml xmldocument xml-comments
XmlDocument and getting specific Attributes using xPath

I have seen a couple of examples on here where Xpath is used in conjunction with XmlDocument to get a …

c# xml xpath xmldocument xml-attribute
How to Remove specific attributes in XMLDocument?

In my C# codebase, I have a XMLDocument of the form: <A> <B> <C mlns=…

c# linq linq-to-xml xmldocument xattribute
XMLDocument -> Byte[] ... how to get back to XMLDocument?

I have an XmlDocument and get the bytes of the object as follows: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("C:\\…

c# encoding bytearray type-conversion xmldocument
XML Parsing Error - C#

My code is having an XML parsing error at line 7 position 32 and I'm not really sure why Exact Error Dump 5/1/2010 10:21:42 …

c# xml visual-studio-2010 xmldocument
insert XmlDocument into a XmlDocument node

I created a basic XmlDocument with one node: XmlDocument bigDoc = new XmlDocument(); bigDoc.LoadXml("<Request></Request>"); …

c# .net insert xmldocument xmlnode
Get XmlNodeList if a particular element value or its attribute value is present in a given list of strings

I would like to get XmlNodeList from a huge XML file. Conditions: I have a List of unique ID values, …

c# .net xmldocument xmlnodelist