Pipeline elements and functions

The pipeline elements have the namespace prefix pipeline: and the namespace declaration http://www.volantis.com/xmlns/marlin-pipeline.

The pipeline elements have the namespace prefix pipeline: and the namespace declaration http://www.volantis.com/xmlns/marlin-pipeline.

Name Purpose
pipeline:alternative

Contains alternative content inside a try element.

pipeline:cache

The root element for a pipeline cache process. Once executed, the named cache is held until the application server is stopped or restarted, flushed manually, or until the expiry time set by the contained cache-control element is reached. The cache stores objects based on the key attribute. The key is then counted and used as a reference against the cache size. The cache uses the least-recently-used strategy for handling its content. Cache configuration parameters are contained in the mcs-config.xml file.

pipeline:cacheBody

An element used to wrap the content being passed to the cache.

pipeline:cacheControl

Controls the expiry of a named cache.

pipeline:cacheInfo

A wrapper for a set of cache information. It must only be present if the parent pipeline:cache element does not have a key attribute, otherwise it is an error.

pipeline:cacheKey

Specifies part of the composite key attribute, when there are multiple keys in use. The key is added to the composite key maintained by the caching process. Values may be literal text values, or more complex expressions. The order of the individual keys making up the composite key is significant.

pipeline:content

Allows you to specify mixed content. Pipeline markup within the element will cause a streaming error.

pipeline:convertElementCase

Converts the case of all element names in its input to lowercase or uppercase and passes this to the output. This is useful when directly translating to native markups that only support a certain case, such as WML.

pipeline:convertImageURLToDMS

Rewrites all img element URLs in a page to be routed through the Media Access Proxy (MAP). The operation will calculate the most appropriate transcoding rule to use, based on the calling device characteristics.

pipeline:convertImageURLToTranscoder

Rewrites all img and logo URLs in a page to be routed through the Media Access Proxy (MAP). The operation will calculate the most appropriate transcoding rule to use, based on the calling device characteristics.

pipeline:convertAbsoluteToRelativeURL

Removes base URL prefixes or translates URLs in content.

pipeline:evaluate

Allows you to include pipeline operations in an external source. MCS parses the events of the enclosed elements back into the pipeline. For example you can cause a transform to generate urid:fetch or sel:select operation which will be evaluated rather than written to the output.

pipeline:for-each

Iterates over a sequence of values, setting a named variable to each value in turn. and processing the operation's body content as pipeline markup.

pipeline:parameter

A parameter passed to the XSL transformation referenced in the href attribute on the pipeline:transformation element.

pipeline:parameters

A container for a set of parameters passed to an XSL transform.

pipeline:preferred

Contains preferred content inside a try element. It must contain one or more pipeline operation elements.

pipeline:serialize

Lists any contained markup to an XML file that you can examine to help debugging pipeline output. The events are forwarded straight on to the rest of the pipeline.

pipeline:transform

The root element for a transform.

pipeline:transformation

Specifies a single XSL transformation. It must only be present if the parent pipeline:transform element does not have a href attribute.

pipeline:transformations

Container for multiple pipeline:transformation elements. It must only be present if the parent pipeline:transform element does not have an href attribute.

pipeline:try

Provides both preferred and alternative content if there are errors in the pipeline.

pipeline:value-of

Permits the value of an expression to be inserted into the content. It can handle the results of any expressions, including the values of complex template variables.

Related topics