Updating formatting to XML