Xmlvalidatingreader set schema
The Xml Data Document class provides methods and properties to work with ADO. You read a file by passing file name as a parameter in constructor.
The Xml Reader class is an abstract bases classes and contains methods and properties to read a document. Besides reading functionality, this class also contains methods to navigate through a document nodes. This class is base class for Xml Text Writer class, which we'll be using in our sample example. Although, this class represents a single node of XML but that could be the root node of an XML document and could represent the entire file. This class provides many write method to write XML document items.In the end, I display total number of different types of nodes in the document. Writing XML Documents Xml Writer class contains the functionality to write to XML documents.It is an abstract base class used through Xml Text Writer and Xml Node Writer classes.