import
The <import> element can import settings from an external Xopus Configuration file. The root element of that file is a <config> element.
Nested imports are allowed. When different files define the same setting, they will be merged if that particular setting allows for that (<roleMapping>, <pipeline>). When merging is not an option (enabling <changeTracking> for example) the least nested and last specified setting will be used.
<div xopus="true">
<xml>
<x:config version="1.0" xmlns:x="http://www.xopus.com/xmlns/config">
<x:import src="config.xml"/>
<x:pipeline xml="xml/doc.xml" xsd="xsd/schema.xsd">
<x:view id="defaultView" default="true">
<x:transform xsl="xsl/presentation.xsl"/>
</x:view>
<x:view id="Other View">
<x:treeTransform/>
</x:view>
</x:pipeline>
</x:config>
</xml>
</div>
- Documentation
- › Configuration
- › Elements
- › import
import element
Namespace: http://www.xopus.com/xmlns/config
Attributes
- src
- Location of the external Xopus Configuration file.
Parent Elements
History
| version | event |
|---|---|
| Xopus 3 | Introduction. |