Dot Net Questions: Xml Reader Class
Xml reader and xml writer comes from namespace system.xml. These classes' helps in getting data from xml documents both of these classes are abstract base classes.
The xml reader class helps in to get xml data in stream or xml documents. This class provides fast, non-cacheable, read only access to xml data as the name suggest it is only forward only access. As I have told that this class is a abstract class and provide methods that are implemented by derived class to get access to element and attributes of xml data. There are various things too that gets from this class such as depth of the node of document means, xml documents also the number of attribute in a node.
There is no of derived class of xml reader one of this is xml text reader class. This xml text reader class read xml data. But this class not helps in validating the DTD or you can say schema information.
Another derived class of xml reader is xml validating reader class. This class read xml data and also supports DTD and schema validation.
The class xml text reader class allows fast access to xml data but not support DTD. It is helpful when we do not require reading full document in to memory. We can initialize xml text reader object to read data from xml document and also initialize an xml text reader object to read data from a stream.
I have explained some of the beautiful methods and properties of xml text readers.
Attribute Count: This property helps to get number of attribute in current node.
Depth: To get the depth of current node.
Item: get the value of an attribute as a string.
Value: get text value of current node.
Learn more on Dot Net Interview Questions here
Related Tags: dot net faq, dot net questions, dot net interview questions, dot net remoting
To know more about Sql Server Interview Questions and Xml Interview Questions visit dotnetquestion.info
Your Article Search Directory : Find in ArticlesRecent articles in this category:
- Ideas For Finding a Nanny Job
Looking after the welfare of children is a very important job. The role of caregivers in the present - What There is to Know About a Temp Agency
A temp agency is a place were skilled office workers can go to get work. There are a number of diffe - Discovering the Many Ways a Temp Agency Can Assist in a Down Economy
When out of money and unable to find work, often times can look hopeless. However, for many who have - Careers That Require Financial Responsibility
Keeping your finances in order is important for any adult, but if you want to work in certain career - What You Need To Know About Resumes And Cover Letters
If the ways of getting employed is composed of steps, the first task would be to come up with an imp - How To Increase Your Chances Of Getting Hired
In trying to get a job, the person that you are going to impress, aside from your would-be boss, wou - Tips on How to Get Hired in a Flash
Unemployment rate all over the world is undeniably huge. But, the bigger problem that professionals - Tips and Techniques on Finding a Job Quickly
There are three ways on how you can get employed at the soonest possible time- that would be, knowin - Securing Your Lifetime Starts Now
If by the time you're 30 and you still don't know what you want to do with your life, it should alre - Occupational Therapy Jobs For a Career in Nursing
Occupational therapy jobs are undertaken by individuals who are willing to engage their skills in he
Most viewed articles in this category:
- Hollow Eyes Are Not Dark Circles Under The Eyes
Many people of all ages complain of dark circles under their eyes. The phrase "dark circles under th - Career As A Hairstylist
Hairdressing is an art that involves arranging hair for aesthetic purposes, participation in formal - Life After West Point Military School
West Point exists to educate and train Cadets who are commissioned as Officers in the US Army upon G - Work Experience In Fashion - How To Get A Great Opportunity In Fashion Work
Work experience in fashion can be one of the most challenging positions to find. It's a simple equa - Tips for Job Hunting in Today's Market
In order to be competitive in today's job market, you must stand apart from the competition. Just h - Who are the EMTs
You'll find them at Denny's. At least I always do. Denny's, Coco's, Perkin's; any all-night restaura - Hiring A New Assistant?
More and more small businesses and even larger companies are turning to virtual office assista - You Too Can Start an Independent Record Label
It's no big secret, the trick of how to start a record label definitely involves some cash and most - Increased Salary with a Medical Degree: Consider the Options
Physicians are probably one of the highest paid professionals in the world. They make a lot of money - 5 Steps to Becoming a Virtual Assistant
Here are 5 steps that I went through in becoming a virtual assistant. These aren’t official by