config
<config version="1.0" xmlns="http://www.xopus.com/xmlns/config"/> is the root of an Xopus Local Configuration. It specifies the uri of the xml document to be loaded, its xml schema and what xsl files should be used to render the views.
If some settings are not specified their default values will be used as specified in the xopus/config/default-config.xml file.
Example
<div xopus="true" autostart="true">
Starting Xopus...
<xml>
<config version="1.0" xmlns="http://www.xopus.com/xmlns/config">
<import src="config.xml"/>
<pipeline xml="xml/doc.xml" xsd="xsd/schema.xsd">
<view name="WYSIWYG View">
<transform xsl="xsl/presentation.xsl"/>
</view>
<view name="Tree View">
<treeTransform/>
</view>
</pipeline>
</config>
</xml>
</div>
Elements and Attributes
Parent Elements
| Element | Description |
|---|---|
| xml |
The xml attribute refers the xml document to edit. The |
A config element can also be the root of an Xopus Local Configuration file. Such a file can be imported using the import element.
Child Elements
| Element | Description |
|---|---|
| import |
The |
| lookupConfig |
The |
| roleMapping |
The |
| toolbar |
The toolbar element contains specific settings for the Xopus toolbar. The toolbar element contains specific settings for the Xopus toolbar. |
| validation |
Contains schema validation specific settings. |
| advanced |
The <advanced/> contains the advanced options for the configuration. The contains the advanced options for the configuration. |
Attributes
| Attribute | Use | Description |
|---|---|---|
| version | Required |
The version attribute specifies the version of the global configuration format. The version attribute specifies the version of the Xopus Local Configuration format used. |
- Support /
- Documentation /
- Developer Guide /
- Reference /
- Xopus Local Configuration /
- Elements /
- config
Related Topics
| Title | Description |
|---|---|
| version |
The version attribute specifies the version of the global configuration format. |
| advanced |
The <advanced/> contains the advanced options for the configuration. |
| miscellaneous |
The |
| spellChecker |
The |
| toolbar |
The toolbar element contains specific settings for the Xopus toolbar. |
Related Topics
| Title | Description |
|---|---|
| src |
The |
| version |
The version attribute specifies the version of the Xopus Local Configuration format used. |
| advanced |
The contains the advanced options for the configuration. |
| import |
The |
| javascript |
The |
| lookupConfig |
The |
| pipeline |
The pipeline element defines the xml pipeline. It specifies the xml document to load and the xml schema to use for validation. |
| roleMapping |
The |
| tableEditor |
The tableEditor element contains specific settings for the table editor. |
| toolbar |
The toolbar element contains specific settings for the Xopus toolbar. |
| validation |
Contains schema validation specific settings. |
| xml |
The |
| Configuration Files |
Xopus has two types of configuration files: |