Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 22, 2011 08:30 AM by sudhavijayakumar
Member
11 Points
19 Posts
Nov 26, 2008 01:24 PM|LINK
HI Hassam,
<
how would i get the id as well as the international affairs out.
Please help or anyone please help
Thanks,
R8VI
180 Points
462 Posts
Jun 15, 2010 12:42 PM|LINK
You can select the attribute.
Please see the following example:-
http://www.csharp-examples.net/xml-nodes-by-attribute-value/
4 Points
2 Posts
Nov 22, 2011 08:30 AM|LINK
Your solution worked for me
Cheers,
Sudha
R8VI
Member
11 Points
19 Posts
Re: Loop through sub XmlNodeList with C#
Nov 26, 2008 01:24 PM|LINK
HI Hassam,
You wrote the code above to get the category.innerxml out but what if I wanted to get the text and the Id number out. for example<
Category ID="430009730">International affairs</Category>how would i get the id as well as the international affairs out.
Please help or anyone please help
Thanks,
R8VI
robinspaul
Member
180 Points
462 Posts
Re: Loop through sub XmlNodeList with C#
Jun 15, 2010 12:42 PM|LINK
You can select the attribute.
Please see the following example:-
http://www.csharp-examples.net/xml-nodes-by-attribute-value/
sudhavijayak...
Member
4 Points
2 Posts
Re: Loop through sub XmlNodeList with C#
Nov 22, 2011 08:30 AM|LINK
Your solution worked for me
Cheers,
Sudha