This content has been marked as final. Show 2 replies
I am trying to get some weather data from the openweathermap-webservice. Among the data is a the iconCode too in order to visualize the current weather condition.
Here is the xml-response of the given request:
one part of the response: ( i have shortened it a bit)
I want to retrieve all iconCodes of all forecast-days. (And it works fine with the temperature, wind direction, etc...
a part of the function which should get the data from the webservice:
If I add the line var iconCode = item.symbol.@var, I get the following syntax error:
Thank you so much in advance for helping me out!