Sensors and network administering


Dot Net Questions: Xml Reader Class

Xml reader and xml writer comes fromvalidating reader class. This class read xml
namespace system.xml. These classes' helps indata and also supports DTD and schema
getting data from xml documents both of thesevalidation.
classes  are  abstract  base  classes.
The class xml text reader class allows fast
The xml reader class helps in to get xml dataaccess to xml data but not support DTD. It is
in stream or xml documents. This classhelpful when we do not require reading full
provides fast, non-cacheable, read onlydocument in to memory. We can initialize xml
access to xml data as the name suggest it istext reader object to read data from xml
only forward only access. As I have told thatdocument and also initialize an xml text
this class is a abstract class and providereader  object  to  read  data from a stream.
methods that are implemented by derived class
to get access to element and attributes ofI have explained some of the beautiful
xml data. There are various things too thatmethods  and  properties of xml text readers.
gets from this class such as depth of the
node of document means, xml documents alsoAttribute 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 readerDepth:  To  get  the  depth  of current node.
one of this is xml text reader class. This
xml text reader class read xml data. But thisItem: get the value of an attribute as a
class not helps in validating the DTD or youstring.
can  say  schema  information.
Value: get text value of current node.
Another derived class of xml reader is xml



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