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