Subject: Re: [xsl] Setting multiple params or variables with xsl:choose From: "Laurent Muchacho" <elmuchacho@xxxxxxxxx> Date: Tue, 13 Sep 2005 13:19:32 +0100 |
<xsl:variable name="variable_name_one"> <xsl:choose>
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Setting multiple params or va, Anthony Green | Thread | [xsl] Setting multiple params or va, Anthony Green |
[xsl] Setting multiple params or va, Anthony Green | Date | RE: [xsl] First character in a word, Michael Kay |
Month |