The XmlTextReader class requires rapid access to XML data.
It doesn’t require reading the complete document into memory through the
Document Object Model (DOM). The class is derived from the XmlReader class and
implements all the methods defined in the XmlReader class. The following are
the functions of the XmlTextReader class:
* It enforces rules of a well-formed XML document.
* It does not provide any data validation in a document.
* It checks the Document Type Definition (DTD) and
DocumentType nodes for their well-formed structure, but does not validate these
nodes by using the DTD.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The XmlTextReader class requires rapid access to XML data. It doesn’t require reading the complete document into memory through the Document Object Model (DOM). The class is derived from the XmlReader class and implements all the methods defined in the XmlReader class. The following are the functions of the XmlTextReader class:
* It enforces rules of a well-formed XML document.
* It does not provide any data validation in a document.
* It checks the Document Type Definition (DTD) and DocumentType nodes for their well-formed structure, but does not validate these nodes by using the DTD.