Sensors and network administering


Dot Net Questions: Xml Reader Class

Xml reader and xml writer comes frominformation.
namespace system.xml. These classes'Another derived class of xml reader is
helps in getting data from xml documentsxml validating reader class. This class
both of these classes are abstract baseread xml data and also supports DTD and
classes.schema validation.
The xml reader class helps in to get xmlThe class xml text reader class allows
data in stream or xml documents. Thisfast access to xml data but not support
class provides fast, non-cacheable, readDTD. It is helpful when we do not
only access to xml data as the namerequire 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 areader object to read data from xml
abstract class and provide methods thatdocument and also initialize an xml text
are implemented by derived class to getreader object to read data from a
access to element and attributes of xmlstream.
data. There are various things too thatI have explained some of the beautiful
gets from this class such as depth ofmethods and properties of xml text
the node of document means, xmlreaders.
documents also the number of attributeAttribute Count: This property helps to
in a node.get number of attribute in current node.
There is no of derived class of xmlDepth: To get the depth of current node.
reader one of this is xml text readerItem: get the value of an attribute as a
class. This xml text reader class readstring.
xml data. But this class not helps inValue: get text value of current node.
validating the DTD or you can say schema



1 A B C 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95