This chapter presented the .NET Framework classes that provide XML DOM capabilities. Using these classes—primarily XmlDocument and XmlNode—you can parse XML documents, building in-memory and fully accessible representations of data.

The overall programming interface of the XmlDocument class might look familiar to those of you who have spent some time working with the Microsoft COM-based MSXML library. The XmlDocument class provides methods to load XML documents from a variety of sources, including XML readers and streams. The loading of a document can happen only synchronously, but you can significantly lessen the impact of this design issue by using multiple threads.

To locate a node in the in-memory tree that represents the original ...

Get Applied XML Programming for Microsoft® .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.