Sets the value of a top-level XSLT stylesheet parameter.
XSQL Syntax
<xsql:set-stylesheet-param
name="string"
[ ignore-empty-value="boolean" ]
[ value="string" ]
>
SQL
</xsql:set-stylesheet-param>
Examples
The following example sets the stylesheet parameter to the value of the parameter named cat:
<xsql:set-stylesheet-param name="current_category"
value="{@cat}"/>
This example sets the stylesheet parameter to a value selected from the database:
<xsql:set-stylesheet-param name="security_level">
SELECT role_name
FROM user_profile
WHERE userid = {@userid}
</xsql:set-stylesheet-param>
Description
Sets the value of a top-level XSLT stylesheet parameter.
The value of the stylesheet parameter can be set on the wizard's Value Selector page by either of the following:
Only the value attribute or the SQL statement can appear in the Set Stylesheet Param tag; they cannot be used together.
Attributes