Processing XML with the XmlDocument Class

This section will discuss the use of the XmlDocument class, which is the implementation of the DOM provided in the .NET Compact Framework. The DOM is a standard specification for an object-oriented representation of an XML document. For more information about the DOM specification, visit http://www.w3c.org/dom.

Understanding the XmlDocument Class

Using the XmlDocument class differs from using the XmlReader and XmlWriter classes described in previous sections in two major ways. First, the XmlReader and XmlWriter classes provide forward-only, noncached access to an XML document, while the XmlDocument class builds an in-memory tree view of the XML document that can be navigated in any direction. Second, the ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.