I was looking for a way to put the exchange rate of the UK currency in a pal-box. I found the following, but still I am not able to get this working

[]The easiest way to process XML data is using XPath statements. XPath allows you to reference the contents of an XML document almost as easily as you refer to directories and files on a disk.
Have a look at the PHPXPath project on Sourceforge:
http://sourceforge.net/projects/phpxpath/ If you download phpxpath into a directory; you can get the EUR:GBP exchange rate using the following code:
[]<?php
require("XPath.class.php");
$xp = new XPath();
$xp->importFromFile("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml");
$EUR_GBP_rate = $xp->getAttributes("//Cube[@currency='GBP']","rate");
echo($EUR_GBP_rate);
?>
[/]
[/]
My knowledge of php is very poor, so any help is appreciated!

Thanks