LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read XML attributes from RSS internet link

I am very new to LabVIEW, and I am trying to determine the best way to read information an RSS link. Specfically, I would like to read data from a Yahoo! Weather RSS like http://weather.yahooapis.com/forecastrss?w=2502265. I would like to extract the temperature from <yweather: condition temp="[##]>, the wind speed from <yweather:wind speed="[##]">, and the text description from <yweather:condition text="[text]".

 

I have looked into some XML parsing solutions like EasyXML, but I wonder if they are too much for what may be a simple task. I would appreciate any input on my current problem. Thanks.

0 Kudos
Message 1 of 2
(2,810 Views)

Howdy,

It looks like EasyXML would make you life a little easier. You can search the LabVIEW Example Finder (Help menu->Find Examples) for XML examples. Other than that you would have to navigate to the website and parse the website source and use the LabVIW String Functions.

Joshua B.
National Instruments
0 Kudos
Message 2 of 2
(2,784 Views)