Using the XmlReader Class
.NET Framework 3.5
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.