I return result like this.
$xmlDoc=simplexml_load_file("myXML.xml");
$search = $xmlDoc->xpath("/customer[@id='$ID']");
foreach ($search as $key => $customer) {
echo $id = $customer["id"];
}
Is there any chance to DELETE or UPDATE above particular record without creating whole XML file again like we do in database?
Thanks