Test simpleXML method