Dot Net Questions: Xml Reader Class

Xml reader and xml writer comes frominformation.
namespace system.xml. These classes’ helpsAnother derived class of xml reader is xml
in getting data from xml documents both ofvalidating 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 inThe class xml text reader class allows fast
stream or xml documents. This class providesaccess to xml data but not support DTD. It is
fast, non-cacheable, read only access to xml datahelpful when we do not require reading full
as the name suggest it is only forward onlydocument in to memory. We can initialize xml text
access. As I have told that this class is a abstractreader object to read data from xml document
class and provide methods that are implementedand also initialize an xml text reader object to
by derived class to get access to element andread data from a stream.
attributes of xml data. There are various thingsI have explained some of the beautiful methods
too that gets from this class such as depth ofand properties of xml text readers.
the node of document means, xml documentsAttribute 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 ofDepth: To get the depth of current node.
this is xml text reader class. This xml text readerItem: get the value of an attribute as a string.
class read xml data. But this class not helps inValue: get text value of current node.
validating the DTD or you can say schema