[RESOLVED] XML string help
(Using the url http://weather.yahooapis.com/forecastrss?w=2459115)
For the XML I can easily display the "ttl" element into a label, but for the
Code:
<yweather:forecast day="Mon" date="28 Apr 2014" low="49" high="61" text="Showers Late" code="45"/>
,
I can't figure out how to separate the Monday, monday's low, and and Monday's high, ext., into multiple labels.
Any help? I'm using the code below to get the current temp and stuff.
Code:
Dim wc As New WebClient
Dim mytext As String
mytext = wc.DownloadString("http://weather.yahooapis.com/forecastrss?w=2459115")
Dim mt As New Xml.XmlDocument
mt.LoadXml(mytext)
Dim rr As Xml.XmlNodeList = mt.GetElementsByTagName("ttl")
For Each ee As Xml.XmlElement In rr
MsgBox(ee.InnerText)
Next
Thank you very much!