Summary
Tag name: <t:xmlTransform>
UIComponent class: org.apache.myfaces.custom.transform.XmlTransform
Tag class: org.apache.myfaces.custom.transform.XmlTransformTag
Component type: org.apache.myfaces.tomahawk.XmlTransform
Component family: org.apache.myfaces.tomahawk.Transform
Transforms XML using and XSL stylesheet.
Used to transform XML (from either a String or URL) using either XSLT or
Velocity.
Attributes
| Name | Type | Supports EL? | Description |
|---|---|---|---|
| binding | String | Only EL | Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression. |
| content | String | Yes | String containing the XML content to be transformed. |
| contentLocation | String | Yes | String containing the location of the XML content to be transformed. |
| contentStream | Object | Yes | Value binding expression referencing an InputStream from which the XML content is to be read. |
| id | String | Yes | An identifier for this particular component instance within
a component view.
The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted. |
| rendered | boolean | Yes | A boolean value that indicates whether this component should be rendered. Default value: true. |
| styleStream | Object | Yes | Value binding expression referencing an InputStream from which the XSL stylesheet is to be read. |
| stylesheet | String | Yes | String containing the XSL information to use in the transformation. |
| stylesheetLocation | String | Yes | String containing the location of the XSL stylesheet to use in the transformation. |