But there are number of problems with Xml Document. The data model of Xml Document is very different from other XML query languages like XSLT and XPath.In 2.0 Framework, XPath Document is answer to above problems.Xml Reader is an actually an abstract class that other classes derive from to provide specific concrete instances like Xml Text Reader and Xml Node Reader.XML gives developers the power to deliver structured data from a wide variety of applications to the desktop for local computation and presentation. Net Framework 1.1, the Xml Document was one of the most common ways to manipulate XML.It is similar to using a static ADO recordset because it parses and loads the entire Xml Document into memory.Extensible Markup Language (XML) is a meta-markup language that provides a format for describing structured data.XML is the universal language for data exchange on the Web.
There are different classes available to read and write XML document in . They are: Xml Reader class offers a pull-style API over an XML document that is unique to the . Pull style means you can skip unwanted nodes while reading.It provides fast, forward-only, read-only access to XML document.The Xml Reader class supports reading XML data from a stream or file.It defines methods and properties that allow you to move through the data and read the contents of a node.
The XPath Document is read-only and optimized for XPath queries.It is much faster than Xml Document for loading and querying XML.