title: php parse xml from url
body: <p><a href="http://www.bank.lv/vk/xml.xml?date=20130530" rel="nofollow">http://www.bank.lv/vk/xml.xml?date=20130530</a></p>
  
  <p><pre></p>
  
  <pre><code>  $url = 'http://www.bank.lv/vk/xml.xml?date=20130530';
    $xml = simplexml_load_file($url) or die("feed not loading");
    $Rate = $xml-&gt;Currency[1]-&gt;Rate;
    echo $Rate;
    echo 'BREAK HTML';
    echo "-----";
    echo "// "; var_dump($xml); echo " //";
  </code></pre>
  
  <p></pre></p>
  
  <p>Why HTML data dont output? Had tested lot of tutorials, but dont get, how to output data from this XML</p>