Adding an XML output file generator