Added proper identation to the generated XML file.