Using the XmlReader Class
The XmlReader class reads XML data from a stream or file. It provides non-cached, forward-only, read-only access to XML data. This section describes how to create an XmlReader instance with a specified set of features, such as data validation, data-conformance checking, reading typed data, and so on.
In This Section
Creating XML Readers
Describes how to create XML readers.Accessing External Resources for the XmlReader
Describes how to use the XmlResolver class to access resources.Validating XML Data with XmlReader
Describes how to validate data.Data Conformance Checking with XmlReader
Describes data conformance checks that can be set on the XmlReader class.Reading Elements
Describes the methods and attributes available for reading elements.Reading Attributes
Describes the methods and attributes available for reading attributes.Reading Content
Describes the methods and attributes available for reading content.Reading Typed Data
Describes the methods and attributes available for reading typed data.Reading XML Using Concrete XmlReader Implementaions
Describes the concrete XmlReader class implementations.
Related Sections
New Features in the XmlReader Class
Describes changes to the XmlReader class.Comparing XmlReader to SAX Reader
Discusses the differences between the XmlReader class and the SAX reader.