title: parse google maps API
body: <p>can't seem to get this parser to work for google maps, I think its because there is no xml extension? It works on a xml file that I make, but when I use google xml it doesn't seem to want to grab it.</p>
  
  <pre><code>&lt;?php
  $address = 'edgemont dr wyoming, MI';
  $address = rawurlencode ($address);
  
  $url = 'http://maps.google.com/maps/api/geocode/xml?address=' . $address . '&amp;sensor=false';
  $link = '&lt;a href="' . $url . '"&gt;' . $url . '&lt;/a&gt;';
  echo $link;
  
  $xml = simplexml_load_file($url);
  
  // get Latitude from XML
  $lat=$xml-&gt;GeocodeResponse-&gt;result-&gt;geometry-&gt;location-&gt;lat;
  echo $lat;
  
  ?&gt;
  </code></pre>