Я не понимаю, как я могу читать теги из файла metadata.xml cdr . Спасибо за любую помощь.
Вам нужно DOMDocument о, PHP5
$xml = new DOMDocument(); $xml->loadXML($xml_data); // $xml_data is the contents of metadata.xml $tags = $xml->getElementsByTagName(""); // put your tag name here. foreach($tags as $tag){ // further process the tags }