Mitul Dabhi
answered Nov 30 '-1 00:00
suppose you have test.xml in same folder of script
$responsedom = new DomDocument ();
$responsedom->loadXML ( file_get_contents("test.xml") );
$elements= $responsedom->getElementsbyTagName("Entities");
getElementsbyTagName will search element with name and return array of object .
foreach ( $elements as $element) {
$keyValueString=$element->getElementsbyTagName( "KeyValuePairOfstring" );
$value=$keyValueString->firstChild->textContent;
}
i think this should be work