I'm loading a XML file as follows:
$places=simplexml_load_file("http://www.43places.com/service/search_places?api_key=1234&q=america");
$allPlaces=$places->xpath('//place');
foreach($allPlaces as $title)
{
echo "a";
}
Simply to test it, the file is correctly loading, you can see the XML file here.
Any idea why it is not looping??