Resolved Reading an XML Weather File.

ChrisMayhew

Member
Joined
Apr 2, 2009
Messages
12
Programming Experience
1-3
Hello

I am in the middle of making an application in VB.NET that I need to download the weather for certain locations and then read them and use them in the program.

I am able to download the weather XML file however I am not too sure how to read certain attributes out of the XML file.

VB.NET:
<yweather:forecast day="Thu" date="17 Sep 2009" low="49" high="62" text="Partly Cloudy" code="30" />

That is the main part of the XML file that I need to read but I am not sure how to go about this.


Any advice or guides would be great, I have tried to use an example at Microsoft's site but I couldn't understand it properly. :confused:

Thanks,
Chris

Edit: I may have found the answer to this on the Yahoo developer sections.

Using Returned XML with VB.NET - Yahoo! Developer Network

I have managed to download and read part of the document into a message box.
 
Last edited:
Back
Top