Enclose the external document

Gendoc offers the possibility of importing the content of an external document inside output, for Microsoft Word templates only, through tag <include>.

<include> tag must be contained in a <gendoc> tag.

The absolute path of the file to be imported is defined in filePath attribute. The following file formats are supported: docx, txt, html.

<gendoc>
  <include filePath=‘C:/myFolder/anotherFile.docx’/>
</gendoc>