Typhint $xml as a SimpleXMLElement