xsl-list
[Top] [All Lists]

Setting multiple params or variables with xsl:choose

2005-09-13 05:13:12

I would like to be able to set multiple variables with xsl:choose but all
information I can find says its not possible.

Any suggestions or work arounds ?

<xsl:choose>
<xsl:when test1="true">
        <xsl:variable name="variable_name_one" select="value_one" />
        <xsl:variable name="variable_name_two" select="value_one" />
        <xsl:variable name="variable_name_thre" select="value_one" />
        ....
</xsl:when>
<xsl:when test2="true">
        <xsl:variable name="variable_name_one" select="value_two" />
        <xsl:variable name="variable_name_two" select="value_two" />
        <xsl:variable name="variable_name_thre" select="value_two" />
        ...
</xsl:when>
</xsl:choose>


Anthony Green
Hemscott plc

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>