I have the following xml file http://www.newyorkfed.org/xml/data/fx/ATSNoon.xml and I have to parse it using PHP. In fact I need to parse all the and to an array. The array I need will be something like:
$rates = (array('date' => '1994-01-06', 'value' => '12.2430'),
array('date' => '1994-01-07', 'value' => '13.2430'),
array(...)
);
Having a poor experience with parsing XML files, I can't succeed with this task no matter what I tried. May I ask for some help guys? Thank you