-- formatXML() added to GUI Mode