Configuration XML files are capable of including others with the include tag, this basically imports all the parameters and lists from the included configuration file in the including file. Also, all the parameters and lists in the including file will be available as the base for the included file. This allows you to for example use a common configuration for database table names with prefixes in the included file and provide a different prefix in each including file.
For example:
config-host1.xml
<config>
<param name="PREFIX">TST</param>
<include file="rep/config-common.xml"/>
</config>
config-host2.xml
<config>
<param name="PREFIX">V10</param>
<include file="rep/config-common.xml"/>
</config>
config-common.xml
<config>
<param name="TABLE_AGENT"><value name="PREFIX"/>AGENT</param>
<param name="TABLE_OFFERS"><value name="PREFIX"/>OFFERS</param>
</config>
Will result in the following configuration settings:
for host1:
for host2: