Abstract:When developing an information system, filling in data information at the specific position of word documents to automatically generate documents’ reports has played an important part in Office Automation System. This paper analyzes the traditional Word object model, which has disadvantages of generating mass of table data slowly. In conjunction with the good supporting characteristics of Microsoft Office Word 2003 for XML, and by way of the interconversion of Word document and XML document, this paper proposes that converting Data table into XML of specified format by utilization of StringTemplate can realize the fast derivation of mass table Data.