Formatted the generated XML file