PCHomepage
Programmer
Using PHP I'm trying to figure out how to parse a Final Cut Pro X XML file, which seems to be different than standard XML, and have had no success so far. Ultimately I need to more finely tune the results but for now, just getting any results would be helpful! This gives nothing useful even though it seems to work on other XML files:
Has anyone worked with FCPXML who can offer help? It is mainly the <title> area I want to fetch but getting any results is a good start. Ideas?
Thanks.
Don
Code:
<?php
$xml = simplexml_load_file("filename.fcpxml");
echo $xml->getName() . "<br />";
foreach($xml->children() as $child) {
echo $child->getName() . ": " . $child . "<br />";
}
?>
Has anyone worked with FCPXML who can offer help? It is mainly the <title> area I want to fetch but getting any results is a good start. Ideas?
Thanks.
Don