I am trying to read this XML document with php.
That is what I figured out so far.
$xml = new SimpleXMLElement(file_get_contents(TEMPLATEPATH.'/lib/regions.xml'));
echo $xml->Children[0]->SimpleGeoName[0]->Id;
I do not know how I can loop through all countries and store them using php. I am really new to xml parsing and I am not even sure if I am able to loop thru all results like this. because $xml->Children->.. returns empty.
Any help greatly appreciate it.
This is how you loop through the
xmlOutput