|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Process XML Data In-Memory
The Microsoft .NET Framework includes two models for processing XML data.
Theclass implements the W3C Document Object Model (DOM) Level 1 Core and the Core DOM Level 2 recommendations. The DOM is an in-memory (cache) tree representation of an XML document. With the XmlDocument, and its related classes, you can construct XML documents, load and access data, modify data, and save changes.
Theclass is read-only, in-memory data store that is based on the XPath data model. The class offers several editing options and navigation capabilities using a cursor model over XML documents contained in the read-only XPathDocument class as well as the XmlDocument class.
In This Section
Discusses using the XmlDocument, and its related classes to process XML data.
Discusses using the XPathDocument, XmlDocument and XPathNavigator classes to process XML data.