Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How do I access the thumbnail href node from the xml feed..

Posted on 2008-11-18
1
Medium Priority
?
290 Views
Last Modified: 2012-05-05
How do I access the thumbnail href from the following xml feed? : http://www.toyota.co.za/api/Toyota.asmx/Gallery?RangeCode=prado
0
Comment
Question by:diaF
1 Comment
 
LVL 8

Accepted Solution

by:
tiagosalgado earned 2000 total points
ID: 22984439
Try this.
XmlDocument doc = new XmlDocument();
            doc.Load("http://www.toyota.co.za/api/Toyota.asmx/Gallery?RangeCode=prado");
 
            XmlNodeList nodes = doc.SelectNodes("/gallerylist/gallery/thumbnail");
            foreach (XmlNode node in nodes)
            {
                Response.Write(node.Attributes["href"].Value + "<br />");
            }

Open in new window

0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question