The XmlDocument class is an in-memory representation of an XML document. It implements the W3C XML Document Object Model (DOM) Level 1 Core and the Core DOM Level 2. … You can load XML into the DOM by using the XmlDocument class, and then programmatically read, modify, and remove XML in the document.
What is XmlDocument?
An XML document is a basic unit of XML information composed of elements and other markup in an orderly package. An XML document can contains wide variety of data. For example, database of numbers, numbers representing molecular structure or a mathematical equation.
What is InnerXml and OuterXml?
OuterXml – gets the XML markup representing the current node and all its child nodes. InnerXml – gets the XML markup representing only the child nodes of the current node.