arbeite hier mit google geocoder und bekomme da ein "SimpleXMLElement Object" zurueck. ein print_r($xml) gibt dann sowas aus wie:
Code: Alles auswählen
...
[address] => Arenales, Puente Alto, Santiago, Chile
[AddressDetails] => SimpleXMLElement Object
(
[@attributes] => Array
(
[Accuracy] => 6
)
...
$p->AddressDetails->attributes->Accuracy; oder
$p->AddressDetails->attributes['Accuracy']; oder
$p->AddressDetails->$attributes['Accuracy']; gehts jedenfalls nicht ...?