I want to parse xml weather or json from https://developer.yahoo.com/weather/

But I can not extract the information from XML. Because the information is in the attributes, for example, here xml for Moscow. The temperature is in the attributes high="75" - for example

and at the same time in the tag there is a colon yweather:forecast and php writes an error if there is a colon.

In general, I have no idea how to display, for example, the weather for tomorrow.

  • one
    code as you try? - Naumov
  • one
    JSON;) &format=xml -> &format=json - E_p

0