Summary
In the first section of this chapter, I illustrated how the XmlTextWriter and XmlTextReader classes are used to process XML documents in a sequential, fast-forward manner. In that section, you discovered how to read and write the various nodes of an XML document—including the declaration node, elements (using data of various application-specific types), and attributes. The section concluded with a demo illustrating the maintenance of a single-entity XML file using the XmlTextWriter and XmlTextReader classes. The second section then dove into the more elaborate world of the DOM and the XML classes that encapsulate it—XmlDocument and XmlNode. In that section, I first presented a short introduction to the DOM itself, followed quickly by ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access