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:
|
| Generate | Running a doc template generation is a standalone process and does not require authoring tool at all. |