I need to test a function which creates a SimpleXMLElement and converts it to a string with asXML(). For that, I want to check the structure of the file to verify if there i