/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$information = $xml->xpath("/xml_api_reply/weather/current_conditions/condition"); echo $information[0]->attributes();