Contributor(s): Than Grove.
Once the appropriate Word styles have been applied to the document and the metadata table has been added and filled out, one is ready to begin the conversion process. The conversion process uses Visual Basic for Applications (VBA) macros to convert the document to XML. For these to work, some preliminary set up is required.
The conversion process uses VBA macros that read a data file external to the document. Therefore, the following steps must be done for the conversion to work:
The keystroke alt+c will initiate and run the conversion macro. The macro will initially ask the name of the output file and display the name of the folder where it will be created. If the folder named is not the one desired, cancel the process and “Save As“ the document to be converted into the desired folder. Once converting, one can watch the conversion process in the document window and a progress bar will be displayed to determine the conversion progress. Should the converter lock up or otherwise fail before conversion is complete, one must try converting it again ( Note: If the converter truly locks up, one may have to force quit and retrieve the document by reopening Word). In such cases, try breaking the document into parts, creating separate documents for each section. Make sure all the headers remain at the same level and put in dummy headers to get to that level if necessary. They try converting the smaller documents individual. If this still does not work, contact the THL. Should the conversion work a message indicating it is complete will pop-up on your screen, indicating you now have an XML document.
Important: When the document is finished converting, it is best to Save As under another name so that one will not loose the work done at applying styles and so forth to the original word document.