debug for SimpleXMLElement