title: how to parse xml with php
body: <p>I am trying to read a weather feed from Yahoo to my site. 
  Using the code below I was able to print the xml.
  What I really want to achieve now is to put the temperature and image in two different variables</p>
  
  <pre><code> $zipCode = "44418";
   $url = "http://weather.yahooapis.com/forecastrss";
   $zip = "?w=$zipCode";
   $fullUrl = $url . $zip.'&amp;u=c';
   $curlObject = curl_init();
   curl_setopt($curlObject,CURLOPT_URL,$fullUrl);
   curl_setopt($curlObject,CURLOPT_HEADER,false);
   curl_setopt($curlObject,CURLOPT_RETURNTRANSFER,true);
   $returnYahooWeather = curl_exec($curlObject);
   curl_close($curlObject);
   print "yahooWeather". $returnYahooWeather;
  
  //$temperature 
  //$image
  </code></pre>