XML parser in CodeIgniter

I want to make a module for the system on CodeIgniter, to display the exchange rate.
I want to parse data from an XML file from here: http://www.ecb.int/stats/eurofxref/eurofxref -daily.xml

Can this be done with the standard library xmlrpc?
There is also an option described by here
Which is better to use:? If you use the first option, please provide a code example, because I did not understand anything from their manual on my problem. But attempts did not lead to anything.


Answer 1, authority 100%

$xmlStr = file_get_contents("filename.xml");
$xml = new SimpleXMLElement($xmlStr);
foreach($xml->offers->offer as $k=>$val){
/*   */
echo $val -> url; //  http://
}

it is assumed that we are parsing a file like:

<?xml version="1.0" encoding="windows-1251"?>
 <offers>
  <offer>
   <url>http://...</url>
   <price>150</price>
  </offer>
  <offer>
   <url>http://...</url>
   <price>150</price>
  </offer> 
</offers>

etc…