The <xi:include> tag inserts the IMX file at this location.
The IMX file can be specified by different methods:
- A relative URI, for example href="Excel_Mapping.imx" or href="test/Excel_Mapping.imx " or href="../output/test/Excel_Mapping.imx ".
A relative URI always references the path of the IMX file.
- An absolute URI, for example href="file:///c:/Users/test/Excel_Mapping.imx".
In this case the correct notation file:/// with three flashes must be observed.
The IMX file to be inserted must be well-formed. The tag has no sub-elements.
Attribute | Usage | Values | Default value | Description |
---|---|---|---|---|
href | required | IMX file to be inserted | ||
xmlns:xi | required if not specified in the <jobdefinition> tag | http://www.w3.org/2001/XInclude | Namespace extension to facilitate use of xi:include |
<?xml version="1.0" encoding="utf-8"?>
<!-- Vollständiger ImX Import -->
<imx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" version="1.0">
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file:///C:/temp/Mapping.imx"/>
<project name="Feeder" save="true" >
<libraries>
<add type="String" value="T_Mechatronic_ModularSystem"/>
</libraries>
<mo name="Feeder" typeClass="Feeder" >
<mo name="Insert" typeClass="Insert" >
<mo name="Separator" typeClass="Separator" />
</mo>
</mo>
</project>
</imx>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mapping>
<!-- T_Mechatronic_ModularSystem.Mechatronic.Functiongroups -->
<moTypeClass alias="Insert" realName="T_Mechatronic_ModularSystem.Mechatronic.Functiongroups.Insert"/>
<!-- T_Mechatronic_ModularSystem.Mechatronic.Functionunits -->
<moTypeClass alias="Separator" realName="T_Mechatronic_ModularSystem.Mechatronic.Functionunits.Separator"/>
<!-- T_Mechatronic_ModularSystem.Mechatronic.Stations -->
<moTypeClass alias="Feeder" realName="T_Mechatronic_ModularSystem.Mechatronic.Stations.Feeder"/>
</mapping>