Remember Me
forgot your password?

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

Adam Sturo

To know more about Sql Server Interview Questions and Xml Interview Questions visit dotnetquestion.info

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha
0
1. Pankaj Kumar (07:11, 16.10.2008)
your article is good but it does not clear the whole picture. It should have been more wide to get the full knowledge. But it was better than others.

  • Latest Careers Articles
  • More from Adam Sturo

How to Earn Extra Money This Holiday Season

By: EM Downing Johnson | 23/12/2009
Regardless of the state of the economy, many people find themselves a little strapped for money around the holidays. Heating costs, food for holiday gatherings, holiday travel costs, and gifts all factor in to making November through January the most expensive time of the year. Luckily, as much as this...

Job Search Myths

By: Jason Kay | 22/12/2009
Think you know everything there is to know about getting a job? Not so fast. There are lots of myths floating around that people have come to accept as fact. Check out some of the most common myths below, and get one step closer to scoring a job you'll love. •Help...

Resumes For Older Workers

By: Jason Kay | 22/12/2009
You're well established in your career and can bring years of experience to any company lucky enough to hire you. So why do older workers often have trouble landing a job? Part of the reason is that age discrimination-though illegal-happens every day, often before a candidate even has the opportunity...

Top 3 Resume Editing Tips

By: Jason Kay | 22/12/2009
It can be daunting to write a killer resume. It's the first impression a hiring manager will have of you and your only chance to compel that person to invite you in for an interview. Too many people focus solely on resume structure and buzz words, allowing sloppy editing to...

Great Gifts For Co-Workers, Clients, And Employees

By: Cathy Lopez | 22/12/2009
The time of year has arrived again for us to start thinking about holiday gifts for those that we work with, work for, or employ. Usually a small token of appreciation is traditional in the office setting and there are many great gifts that can be purchased that are perfect...

Career in Travel and Tourism Part - 2

By: anirban das | 22/12/2009
Travel and Tourism one of the world's biggest foreign exchange earners among service industries provides employment directly to millions of people worldwide and indirectly through many associated service industries.

Government agencies operate workforce centers in every state

By: Paul Ingersole | 22/12/2009
he internet offers a tremendous amount of job listings. You can search by state, by town, by job title, by areas of interest, and by the pay rate you are looking for. There are several good sites that allow you to post your resume for potential employers to look at.

Freelance Jobs : The Best Tips To Make Money Online

By: thomcherish | 22/12/2009
If you need a free lance project, there are lots of freelance online and several good web sites to match buyers and provides for these projects.

Interview Tips or Guides on ADO dot Net

By: Adam Sturo | 10/06/2009 | Interviews
The given article explains topic names Ado dot net which helps you in gaining brief knowledge about the same.

Women’s Study – necessary or not

By: Adam Sturo | 24/03/2009 | College & University
Few are aware of the unique history of women’s studies in India, which emerged in the 1970s and early 1980s, during years of political and social turmoil. A founding generation of teachers, students, young women in the IAS, and

About AUW - Asian University for Women - faq

By: Adam Sturo | 20/03/2009 | College & University
this article tells you about top and best colleges in india and frequently asked question about asian university for women.

Colleges And Universities In India – Think About Your Career

By: Adam Sturo | 18/03/2009 | College & University
Raffles Education Corporation, in Partnership With Educomp Solutions Ltd, Has Opened Its Design Institute Raffles Millennium International (rmi) in New Delhi at Pusa Road. the Chief Guest for the

C# Dot Net And Vb Dot Net

By: Adam Sturo | 06/03/2009 | Interviews
When we use asp.net we have different language option available there are some of these language vb.net , c# dot net, perl etc.So its depend upon the programmer which language

Top and Best Colleges in India - Acharya Institute, Sha-shib Group

By: Adam Sturo | 28/09/2008 | College & University
This article provides you the list of colleges (engineering, architecture, mba, dental, medical, ayurvedic colleges, law, fashion design colleges) and universities in india

Are You Looking for Brides or Grooms - Stop Your Search

By: Adam Sturo | 12/05/2008 | Marriage
This article provides you the listing of brides and grooms in india, us, uk, canada and pakistan. Have a look on these brides and grooms and select any one you want to marry with.

Yoga Education – Additional Study With Your Education

By: Adam Sturo | 12/05/2008 | Careers
This article tells about the yoga education with normal study. It is an important study for your children.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.09, 1, w2)