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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML in ASP.net

Status
Not open for further replies.

asraj16

Programmer
May 15, 2004
19
US
Hi,
I have XML which has a node and this node has multiple child nodes. For example :

<Test>
<test1>
<test2></test2>
</test1>
<test3>
<test4></test4>
<test5></test5>
</test3>
<test3>
<test4></test4>
<test5></test5>
</test3>
</Test>

I need to retrieve all the values of test4 and test5 and want to display on the page. Could you please help me how to do this?

Thanks
 
Look into the XmlDocument class. It can load your XML and find and interact with any nodes you want using XPath syntax.
 
Could you please send me the code? I want to parse this XML and to display the Tag values in a table and to give URL link to this values.

Could you please help me? It is very urgent.

Thanks
 
There are plenty of examples out there for this, which you should be able to find with a simple search based on BoulderBum's post. Please keep in mind that we are not all here to give code away, but rather help with specific problems which one may have. Thanks

regards,
Brian
The problem with doing something right the first time is that nobody appreciates how difficult it was.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top