xpath("/xml_api_reply/weather/forecast_information"); $current = $xml->xpath("/xml_api_reply/weather/current_conditions"); $forecast_list = $xml->xpath("/xml_api_reply/weather/forecast_conditions"); ?> jQuery Mobile Framework - Weather for <?php echo $information[0]->city['data']; ?>

Currently in city['data']; ?>:

weather

temp_f['data']; ?>° F, condition['data']; ?>