Chapter 2. XML Readers

In the Microsoft .NET Framework, two distinct sets of classes provide for XML-driven reading and writing operations. These classes are known globally as XML readers and writers. The base class for readers is XmlReader, whereas XmlWriter provides the base programming interface for writers. In this chapter, we’ll focus on a particular type of XML readers—the XML text readers. In Chapter 3, we’ll zero in on validating readers and then move on to XML writers in Chapter 4.

Get Applied XML Programming for Microsoft® .NET 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.