futureLAB JSP Tag Library - Parameter Tag
Marc Liyanage
Software Engineer
futureLAB AG
$Id: tag_parameter.docbook,v 1.2 2002/08/21 23:52:42 mliyanage Exp $
This tag is used inside of an <fl:style> tag to set XSLT parameter
key/value pairs for the transformation described by the enclosing style tag.
<fl:style xsltfilename="/data/www/mywebsite.com/mystylesheet.xsl">
<fl:parameter name="versionnumber" value="1.0"/>
<fl:parameter name="blah" value="<%= someJavaObject %>"/>
<blah>
<somedata>...</somedata>
</blah>
</fl:style>
|
|
| Example 1. Setting a parameter |
|
This section provides a detailed list of the two attributes for this tag.
All of them accept run-time values, i.e. you can
use the <%= ... %>
construct in the attribute value.
| Attribute name | Description | Default | Mandatory |
|---|
| name | A string containing the name of the XSLT parameter as declared in the
<xsl:parameter> element in your XSLT code. | - | yes | | value | An object with the value that should be bound to the parameter name. | - | yes |
|
| Table 1. Attributes for the parameter tag |
|