The XML specifications are clear and fully written out. Any further changes to it will be due to external dependencies, such as CIS' grouper or a change in what the GUI will allow. Outputting ballot data to an XML file will be very simple, since the information is nearly in the right format anyways. Iterating through the arrays of questions and candidates, and just writing everything else in standard tags.