WBean Parameters |
---|
Name | Scope | Class | Mandatory | Comment |
---|
xml | bean | String,Reader,InputStream | Yes | The XML to transform. This attribute may evaluate to a java.io.Reader,
to a java.io.InputStream or to a String.
If the value is a Reader or an InputStream then its content is read.
If the value is a String and it begins with "file://" then the remainder of the value
is assumed to be the path to a file containing the XML,
otherwise the String is assumed to contain the XML itself. |
xslt | bean | String,Reader,InputStream | No | The XSLT styesheet to apply. This attribute may evaluate to a java.io.Reader,
to a java.io.InputStream or to a String.
If the value is a Reader or an InputStream then its content is read.
If the value is a String and it begins with "file://" then the remainder of the value
is assumed to be the path to a file containing the stylesheet,
otherwise the String is assumed to contain the stylesheet itself. If the xslt attribute is not
specificed then a null transformation is applied - this is useful to convert a DOM tree in to
its String representation. |
type | bean | java.lang.String | Yes | Indicates how to treat the result of the transformation. This must be one of:
dom indicating that the result of the transformation should be stored
as a DOM tree in the attribute indicated by var and scope or
string indicating that the result of the transofrmation should be stored
as a String in the attribute indicated by var and scope . |
var | bean | java.lang.String | Yes | The name of the attribute in which to store the result of the transformation. |
scope | bean | java.lang.String | No | The scope of the attribute in which to store the result of the transformation,
defaults to local scope. |