parsing rss feed
-
Hey, Looking for some help in parsing a rss feed for yahoo weather. The xml looks as follows - <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <rss version="2.0" xmlns:yweather="http://weather.yahooapis.com/ns/rss/1.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84\_pos#"> <channel> <title>Yahoo! Weather - Sunnyvale, CA</title> <description>Yahoo! Weather for Sunnyvale, CA</description> <language>en-us</language> <yweather:location city="Sunnyvale" region="CA" country="US"></yweather:location> <yweather:wind chill="57" direction="350" speed="7"></yweather:wind> </channel> </rss> I am able to go through it and pick out information in most parts but i am having trouble getting to the attributes in the nodes such as <yweather:location city="Sunnyvale ...../> . When i use a query such as Dim results = From node In XDoc...<channel> _ Select node I get all the nodes apart from the ones with <yweather:....whatever I have tried to use an xmldocument object aswell and have been able to get positioned on a element with the <yweather part but havnt been able to access its attributes. Hope someone can help