FW&
Yes, SimpleXML works but try adding the xml namespace if you run into trouble.
E.g.:
ФВ FW УТ UT XML; $xml = new SimpleXMLElement($xmlstr); foreach ($xml->xpath('//data/code[@xml:lang="en"]') as $code) { echo $code, '', PHP_EOL; } ?>
ФВ
FW
УТ
UT