© Bipin Joshi 2017
Bipin JoshiBeginning XML with C# 7https://doi.org/10.1007/978-1-4842-3105-0_2

2. Manipulating XML Documents Using the Document Object Model

Bipin Joshi1 
(1)
301 Pitruchhaya, Thane, India
 
Chapter 1 discussed various flavors of parsers—tree-based parsers, event-based parsers, and pull-model parsers. You also learned that the Document Object Model (DOM) is a set of APIs for manipulating XML documents. To that end, this chapter covers all the essential functionality offered by the .NET Framework’s DOM classes. Specifically this chapter covers the following topics:
  • System.Xml classes related to DOM

  • Knowing when to use DOM

  • Reading XML documents using DOM

  • Writing XML documents using DOM

  • Dealing with whitespace and namespaces

  • Handling events ...

Get Beginning XML with C# 7: XML Processing and Data Access for C# Developers 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.