Doc template

A doc template is a Microsoft WordŽ file or OpenDocument text file which specifies the information to generate in a given file as well as the name of the file. A doc template can have parameters that are used to derive the dynamic contents based on the specific model under consideration.

A doc template specifies a combination of static text and placeholders for data to be extracted from models. These placeholders are essentially expressions specified for metamodel entities with queries and patterns being the primary mechanisms for selecting and extracting the values from models. The language used to define doc template is DocGen.

Prerequisites  
Edit and View Editing or viewing a doc template requires either:
  • Microsoft Office 2007 or higher for .docx files
  • Microsoft Office WordŽ 2003 or higher for .xml files
  • Open Document compliant authoring tool (e.g. OpenOffice, IBM Lotus Symphony, Google Docs, etc.) for .odt files
Generate Running a doc template generation is a standalone process and does not require authoring tool at all.

Related reference
DocGen
DocGen tags