I have the following XML code\[code\]<epp:epp xmlns:epp="urn:ietfarams:xml:ns:epp-1.0"> <epp:response> <epp:result code="1000"> <epp:msg>Contact Info Command completed successfully</epp:msg> </epp:result> <epp:resData> <contact:infData xmlns:contact="urn:ietfarams:xml:ns:contact-1.0"> <contact:id>con12</contact:id> <contact:status s="ok"/> <contactostalInfo type="loc"> <contact:name>Name</contact:name> <contactrg/> <contact:addr> <contact:street>streer</contact:street> <contact:street>street</contact:street> <contact:street/> <contact:city>City</contact:city> <contact:sp/> <contactc>186</contactc> <contact:cc>AA</contact:cc> </contact:addr> </contactostalInfo> <contact:voice>0000000</contact:voice> <contact:fax>000000000</contact:fax> <contact:email>[email protected]</contact:email> </contact:infData> </epp:resData> </epp:response></epp:epp>\[/code\]I'm having difficulties getting values from the XML string using simplexml_load_stringI can get the results in all node starting with epp: such as epp:msg uinsg the following code\[code\]$objects = simplexml_load_string($result);$objects->children('epp', true)->response->result->msg;\[/code\]I just cant seem to get the values below\[code\]<contact:infData xmlns:contact="urn:ietfarams:xml:ns:contact-1.0"> <contact:id>con12</contact:id> <contact:status s="ok"/> <contactostalInfo type="loc"> <contact:name>Name</contact:name> <contactrg/> <contact:addr> <contact:street>streer</contact:street> <contact:street>street</contact:street> <contact:street/> <contact:city>City</contact:city> <contact:sp/> <contactc>186</contactc> <contact:cc>AA</contact:cc> </contact:addr> </contactostalInfo> <contact:voice>0000000</contact:voice> <contact:fax>000000000</contact:fax> <contact:email>[email protected]</contact:email> </contact:infData>\[/code\]I would also need to know how to get the code value in \[code\]<epp:result code="1000">\[/code\]Any help/pointers would be appreciated,