Added formatting to the XML output.