期刊名称:Journal of Theoretical and Applied Information Technology
印刷版ISSN:1992-8645
电子版ISSN:1817-3195
出版年度:2012
卷号:45
期号:1
页码:342-349
出版社:Journal of Theoretical and Applied
摘要:With the growing of maturity for the graphical model-driven development environment, software development has been made out of the shackles of a lot of manual coding and not easily code reusing, meanwhile a higher document management standard is required in software development process. To meet this requirement this paper presents a structured Word document automatic generation technology which makes full use of XML Dom and VBA technologies, and takes XML data storage files as input. The paper elaborates tag defining rules of structured Word document template, and the algorithms of XML data nodes query, information extraction and replacement of Word document tags. The model has been applied in a practical engineering project, and effectively solves the problems of strenuousness, repetition, inefficiency and easily mistakes occurring as compiling structured Word documents only by hand.