pipeline
The pipeline element defines the XML pipeline.
It specifies the 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.
<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 name="defaultView">
<x:transform xsl="xsl/presentation.xsl"/>
</x:view>
<x:view name="Other View">
<x:treeTransform/>
</x:view>
</x:pipeline>
</x:config>
Both URI's can be paths relative to the 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 SDL LiveContent Create API can be used to change the way an document is loaded. See the global API object for more information.
Namespace
http://www.xopus.com/xmlns/config
Attributes
| Attribute | Description and use | Type |
|---|---|---|
xml | the URI of the document to edit | URI string |
xsd | the URI of the XML Schema, against which the document will be validated | URI string |
Parent Elements
config
History
| Version | Event |
|---|---|
| SDL LiveContent Create 5.0 | Introduction. |