title: Alexa api site info xml format to php values
body: <p>I try to make use of the alexa api by amazon. I want to receive website data.</p>
  
  <p>I create a url to receive the data, I get this in a xml format.</p>
  
  <p>When I try to read this file by</p>
  
  <pre><code>$xml = simplexml_load_file('test.xml');
  print_r($xml);
  </code></pre>
  
  <p>I get just the code 'SimpleXMLElement Object ( ) '.</p>
  
  <p>How can I get the data to php from this xml?</p>
  
  <p>A Part of the xml file I get ;</p>
  
  <pre><code>    &lt;?xml version="1.0"?&gt;
  &lt;aws:UrlInfoResponse xmlns:aws="http://alexa.amazonaws.com/doc/2005-10-05/"&gt;&lt;aws:Response xmlns:aws="http://awis.amazonaws.com/doc/2005-07-11"&gt;&lt;aws:OperationRequest&gt;&lt;aws:RequestId&gt;removed&lt;/aws:RequestId&gt;&lt;/aws:OperationRequest&gt;&lt;aws:UrlInfoResult&gt;&lt;aws:Alexa&gt;
  
    &lt;aws:TrafficData&gt;
      &lt;aws:DataUrl type="canonical"&gt;yahoo.com&lt;/aws:DataUrl&gt;
      &lt;aws:Rank&gt;4&lt;/aws:Rank&gt;
      &lt;aws:UsageStatistics&gt;
        &lt;aws:UsageStatistic&gt;
          &lt;aws:TimeRange&gt;
  
        &lt;aws:Months&gt;3&lt;/aws:Months&gt;
      &lt;/aws:TimeRange&gt;
      &lt;aws:Rank&gt;
        &lt;aws:Value&gt;4&lt;/aws:Value&gt;
        &lt;aws:Delta&gt;0&lt;/aws:Delta&gt;
      &lt;/aws:Rank&gt;
      &lt;aws:Reach&gt;
  
        &lt;aws:Rank&gt;
          &lt;aws:Value&gt;4&lt;/aws:Value&gt;
          &lt;aws:Delta&gt;0&lt;/aws:Delta&gt;
        &lt;/aws:Rank&gt;
        &lt;aws:PerMillion&gt;
          &lt;aws:Value&gt;228,260&lt;/aws:Value&gt;
          &lt;aws:Delta&gt;-2.83%&lt;/aws:Delta&gt;
  
        &lt;/aws:PerMillion&gt;
      &lt;/aws:Reach&gt;
      &lt;aws:PageViews&gt;
        &lt;aws:PerMillion&gt;
          &lt;aws:Value&gt;14,390&lt;/aws:Value&gt;
          &lt;aws:Delta&gt;-10.59%&lt;/aws:Delta&gt;
        &lt;/aws:PerMillion&gt;
        &lt;aws:Rank&gt;
  </code></pre>