config
<config /> is the root of an Xopus Configuration. It usually specifies the location of the XML document to be loaded, its XML Schema and what XSL Stylesheets should be used to render the views.
<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="document.xml" xsd="xsd/schema.xsd">
<x:view name="WYSIWYG View">
<x:transform xsl="xsl/wysiwyg.xsl"/>
</x:view>
</x:pipeline>
</x:config>
</xml>
</div>
A <config> element can also be the root of an Xopus Configuration file. Such a file can be imported using the import element, or used via a <?xopus-config href="config.xml"?> processing instruction.
In Xopus 3, if some settings are not specified their default values will be used as specified in the xopus/config/default-config.xml file.
- Documentation
- › Configuration
- › Elements
- › config
config element
Namespace: http://www.xopus.com/xmlns/config
Allowed Children
- advanced
- (Optional)
- import
- (Optional)
- pipeline
- (Optional)
- nodeConfig
- (Optional)
- javascript
- (Optional)
- localization
- (Optional)
- lookupConfig
- (Optional)
- changeTracking
- (Optional)
- roleMapping
- (Optional)
- toolbar
- (Optional)
- miscellaneous
- (Optional)
- validation
- (Optional)
- spellChecker
- (Optional)
Attributes
- version
- Specifies the version of the Xopus Configuration format used. Must be
1.0.
Parent Elements
History
| version | event |
|---|---|
| Xopus 4.0.2 | Tested, and confirmed to work correctly. |
| Xopus 3 | Introduction. |