Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLTextReader can't read part of XML attributes

Status
Not open for further replies.

marcello62

Technical User
Jun 19, 2006
42
0
0
NL
Hi there,

I use the XMLTextReader class to process an .XML file. To keep things simple I'll list one line of a test file:
<CUSTOMER ID="1">
I use the XMLTextReader.Name method to return "CUSTOMER"
I use the XMLTextReader.GetAttribute() method to return "1"
Now I'm looking for some way to return "ID". But I can't seem fo find any method of the XMLTextReader class being able to get this done. Does anyone have a suggestion?

Any help will be greatly appreciated,
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top