This functionality is only available for certain module packages.

You are here: Reference > IMX import > IMX tags > <importFragment/>

<importFragment/>

The <importFragment/> tag inserts an IMX fragment at this point. This tag is only used in a template file. The tag is replaced by the content of the IMX fragment during importing, for example by using theEngineering.ImportIMXWithTemplateCommand command. By this means template files can be created that have a fixed content and can be supplemented by fragments that have variable contents.

The IMX fragment to be inserted must be well-formed and form a valid XML file together with the template.

An IMX fragment can contain all the tags of a template file, with the exception of the <importFragment> tag and only in certain cases the <parameter> tag.

The <parameter> tag can only be used under this condition:

The <importFragment/> tag does not have any attributes and any sub-elements.