Validating xmlreader

This allows you to take full advantage of the new features introduced in this release. Xml Text Reader provides forward-only, read-only access to a stream of XML data.

This class implements Xml Reader and conforms to the W3C Extensible Markup Language (XML) 1.0 and the Namespaces in XML recommendations.

Note: In the dnprdnext release, the recommended practice is to create Xml Reader instances using the erload: System. The reader is advanced using any of the read methods and properties reflect the value of the current node.

validating xmlreader-7

For more information, see Validating XML Data with Xml Reader.

To read XML data from an Xml Document, use Xml Node Reader.

Xml Text Reader provides the following functionality: Because the Xml Text Reader does not perform the extra checks required for data validation, it provides a fast well-formedness parser.

To perform data validation, use a validating Xml Reader.

The following are things to consider when using the Xml Text Reader class.