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.
Liked By
Write Answer
What is XMLTextReader?
Join MindStick Community
You have need login or register for voting of answers or question.
Vijay Shukla
02-Apr-2013The 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.