The INCLUDE element is used to incorporate named groups and IDF, CSV or EE files. For example,
<INCLUDE GROUPNAME = "para2"/>
incorporates an existing group with the name of 'para2'.
Files can be INCLUDEd within a PAGE container if the file itself supplies no more than one page. You may, however, incorporate one page selected from a multi-page file within a PAGE container by employing the REPEAT attribute. To incorporate several pages from a multi-page file directly, the INCLUDE statement must be located outside any PAGE container.
In this example, the FILENAME attribute incorporates the IDF file 'FRED3':
<INCLUDE FILENAME = "FRED3.IDF" CACHE = "YES"/>
When an INCLUDE statement does not specify a GROUPNAME or FILENAME (i.e. <INCLUDE/>), IDF uses the group or file specified in its parent container.
The file type is determined by the extension of a named file:
.IDF is another Intelligent Document Format file
.EE is a set of EscapeE field definitions
.CSV is a comma-separated data file with field names in record 1. The data values are assigned to the specified fields.