I have a file that looks like this:
About.com: Animation Guide
Here's an alternate way to get to that attribute:
$string = file_get_contents($filename); $xml = new SimpleXMLElement($string); $result = $xml->xpath('/RDF/ExternalPage[*]/@about'); var_dump($result);