This article demonstrates how to use the XmlTextReader class to read Extensible Markup Language (XML) from a file. XmlTextReader provides direct parsing and tokenizing of XML and implements the XML 1.0 specification and the namespaces in XML specification from the World Wide Web Consortium (W3C). This article provides fast, tokenized, stream access to XML rather than using an object model such as the XML Document Object Model (DOM).