| Xml reader and xml writer comes from | | | | validating reader class. This class read xml |
| namespace system.xml. These classes' helps in | | | | data and also supports DTD and schema |
| getting data from xml documents both of these | | | | validation. |
| classes are abstract base classes. | | | | |
| | | | The class xml text reader class allows fast |
| The xml reader class helps in to get xml data | | | | access to xml data but not support DTD. It is |
| in stream or xml documents. This class | | | | helpful when we do not require reading full |
| provides fast, non-cacheable, read only | | | | document in to memory. We can initialize xml |
| access to xml data as the name suggest it is | | | | text reader object to read data from xml |
| only forward only access. As I have told that | | | | document and also initialize an xml text |
| this class is a abstract class and provide | | | | reader object to read data from a stream. |
| methods that are implemented by derived class | | | | |
| to get access to element and attributes of | | | | I have explained some of the beautiful |
| xml data. There are various things too that | | | | methods and properties of xml text readers. |
| gets from this class such as depth of the | | | | |
| node of document means, xml documents also | | | | Attribute Count: This property helps to get |
| the number of attribute in a node. | | | | number of attribute in current node. |
| | | | |
| There is no of derived class of xml reader | | | | Depth: To get the depth of current node. |
| one of this is xml text reader class. This | | | | |
| xml text reader class read xml data. But this | | | | Item: get the value of an attribute as a |
| class not helps in validating the DTD or you | | | | string. |
| can say schema information. | | | | |
| | | | Value: get text value of current node. |
| Another derived class of xml reader is xml | | | | |