ciao a tutti, ho una stringa xml ma non riesco a leggere i valori dei tag,
vi incollo il pezzo di codice, grazie a tutti.
$response1='<?xml version="1.0" encoding="ISO-8859-1"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:storeCustomerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tempuri.org"><storeCustomerReturn xsi:type="xsd:string"> <id_cliente>382141</id_cliente</storeCustomerReturn></ns1:storeCustomerResponse></soapenv:Body></soapenv:Envelope>';
$xml1 = simplexml_load_string($response1);
echo "xml1=".$xml1->id_cliente;