Generates the comments into a XML file and fixed all the comments.