- simplexml_load_string: documentation ( source)
<?php
$xml = 'http://115.112.70.158/soap/tutorial/test/available_vehicle.xml';
$xml = simplexml_load_string( $xml);
foreach( $xml->xpath( './/VehRentalCore') as $child) {
echo $child->attributes()['PickUpDateTime'] . "\n";
}