Share via


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

  • 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.

See Also

Concepts

Reading XML with the XmlReader