Template rules

Basically, a template is just a textual file. The Header template and Content template lines in the example in the previous chapter are replaced by the content of the template files. External references in the template files are substituted with the values of the referred definitions. The following types of external references are possible:

ENTRY:RETRIEVAL and ENTRY:<name> references have the same status. Expansion of references is strictly hierarchical, in the order Template - DM – ENTRY – PAR. This means:

The main reason for having a strict hierarchy is to avoid cyclic definitions.