Include Files
Using the include
element it is possible to include other XML files inside an environment file.
The include
element can be specified inside any element of the environment file. Its value defines the name of the file to include. If the file path is not absolute, it is searched in the same directory of the source environment file.
The attributes type
indicates the nature of include code:
- xml (default)
- text
Example
Example
<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="..\..\Environment.xsd">
<include>%COMPUTERNAME%.datasources.xml</include>
<configuration>
<tracking>
<enabled>true</enabled>
<datasource>IANUS</datasource>
<log>true</log>
</tracking>
</configuration>
</environment>