Automatic document generation strategy for graphic-oriented modeling and automatic code generation platform

Chunmao Jiang,Xianghu Wu,Mingcheng Qu,Jun Yao
2012-01-01
Abstract: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. © 2005 - 2012 JATIT & LLS. All rights reserved.
What problem does this paper attempt to address?