apache > cocoon

- Home

# Description of the simple-form-instance transformer

##

### Description

This transformer sieves an incoming stream of xml and extracts a document fragment from it depending on a given tag and stores the fragment using an OutputModule with a name based an attribute of another enclosing tag. Default configuration fires on <form-instance/> and uses @name of enclosing <form/> tag. Default OutputModule is request-attr. This is usefull in conjunction with the SimpleFormTransformer when setting the InputModule for it to a chain of request-param and request-attr so that the extracted form instance data is used only when no similar request parameter exists.

### Info

Name | simple-form-instance
Cacheable | No
Class | org.apache.cocoon.transformation.SimpleFormInstanceExtractionTransformer

Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).