У меня есть строка XML в php, которую я хочу поместить в массив.
Как мне получить ttt: tree и ttt: car, используя простой xml?
<?xmlversion="1.0"encoding="utf-8"?>
<soap:Envelope xmlns:soap="htp://schemas.xmlsoap.org/soap/envelope/"xmlns:xsi="htp://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="htp://www.w3.org/2001/XMLSchema">
<soap:Body>
<a xmlns="www.ttt.com">
<b xmlns:ttt="www.ttt.com">
<ttt:tree>big</ttt:tree>
<ttt:car>small</ttt:car>
</b>
</a>
</soap:Body>
</soap:Envelope>