cdr ファイルの metadata.xml からタグを読み取る方法がわかりません。助けてくれてありがとう。
1049 次
1 に答える
0
PHP5 ではDOMDocumentが必要です
$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
}
于 2012-02-15T08:40:12.137 に答える