pipeline
The pipeline element defines the xml pipeline. It specifies the xml document to load and the xml schema to use for validation.
The pipeline consists of one or more views. Each view is the result of one or more consecutive operations on the source xml.
Example
<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 id="defaultView" default="true">
<transform xsl="xsl/presentation.xsl" />
</view>
<view id="Other View">
<treeTransform/>
</view>
</pipeline>
</config>
Both uris can be paths relative to the html file that contains the pipeline definition.
This will be sufficient in most systems. However, in some cases you may wish to use an other identifier, like a document id, since the document may not actually exist on the server. In those cases the Xopus API can be used to change the way an xml document is loaded. See IO for more information.
Elements and Attributes
Parent Elements
| Element | Description |
|---|---|
| config |
The
|
Child Elements
| Element | Description |
|---|---|
| view |
A view consists of one or more actions to be performed consecutively on the xml. The user can choose the preferred view from the Xopus menu. |
Attributes
| Attribute | Use | Description |
|---|---|---|
| xml | Required |
The xml attribute refers the xml document to edit. The |
| xsd | Required |
The |
- Support /
- Documentation /
- Developer Guide /
- Reference /
- Xopus Local Configuration /
- Elements /
- pipeline
Related Topics
| Title | Description |
|---|---|
| xml |
The xml attribute refers the xml document to edit. |
| xsd |
The |
| view |
A view consists of one or more actions to be performed consecutively on the xml. The user can choose the preferred view from the Xopus menu. |