map:transform
Adds a transformer to the pipeline.
A transformer is the central point in a sitemap pipeline. Within a pipeline match, transformers consume SAX events and emit SAX events. Transformers are placed inside a pipeline match between a generator and a serializer. You can include several transformers within a pipeline match. Any pipeline match containing a generator and transformer must end with a serializer.
In the sitemap file, each transformer has a unique name which is mapped to a java class. One transformer name must be declared as the default transformer. Each transformer may have additional configuration information specified in child elements.
Since Cocoon version: 2.0
Attributes
|
Name |
Description |
|---|---|
|
type |
Transformer implementation to use. Optional, the default is defined on map:transformers. |
|
src |
If the transformation process is described in some file (such as for XSLT), this defines the location of this file. |
|
label |
Defines an exit point from where a view can take over. Can be a comma-separated list. |
|
pipeline-hints |
Occurence
Children
This element can have the following children:
(none)Parents
This element can occur inside:
map:viewmap:resource
map:handle-errors
map:match
map:when
map:otherwise
map:act

There are no comments.