문제

I don't understand how I can read tags, from a metadata.xml of a cdr files. Thanks for any help.

도움이 되었습니까?

해결책

You need DOMDocument oh 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
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top