Export (0) Print
Expand All

Process XML Data Using the DOM Model 

The XML Document Object Model (DOM) treats XML data as a standard set of objects and is used to process XML data in memory. The System.Xml namespace provides a programmatic representation of XML documents, fragments, nodes, or node-sets. It is based on the World Wide Web Consortium (W3C) DOM Level 1 Core and the DOM Level 2 Core recommendations.

The XmlDocument class represents an XML document. It includes members for retrieving and creating all other XML objects. Using the XmlDocument, and its related classes, you can construct XML documents, load and access data, modify data, and save changes.

In This Section

Reading an XML Document into the DOM.

Discusses how to read XML data into an XML document.

Inserting Nodes into an XML Document

Discusses how to insert nodes into an XML document.

Removing Nodes, Content, and Values from an XML Document

Discusses how to remove nodes, including node values.

Modifying Nodes, Content, and Values in an XML Document

Discusses how to modify node content.

Resolving External Resources

Discusses using the XmlResolver class to resolve and access external resources.

Extending the DOM

Discusses how to extend the DOM classes to provide additional functionality.

Related Sections

Process XML Data Using the XPath Data Model

Discusses XML processing using the XPathNavigator class.

Community Additions

ADD
Show:
© 2015 Microsoft