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