added ability to create an XML spreadsheet as the output