Changed string output into XML.