Hi… I am working to parse an opf file. I can pull the dc children but am having problems getting it to pull other information from the file. Is there a way to do this?
What I am currently doing:
$package = simplexml_load_file("$url");
echo $package->metadata->children(‘dc’, true)->creator."
";
echo $package->metadata->children(‘dc’, true)->title."
";
echo $package->metadata->children(‘dc’, true)->description."
";
Is there a way to parse the meta content by name?
File structure:
<?xml version='1.0' encoding='utf-8'?> The Beginning of the End Amanda Cassidy Working with young children can be a very rewarding job... and extremely frustrating at the...