xsl-list
[Top] [All Lists]

Re: [xsl] How do I write this in xsl where it could take on 1 of 3 values based on certain conditions ?

2008-03-27 00:22:02
<xsl:variable name="...">
 <xsl:choose>
  <xsl:when test="..1.">whatever 1</xsl:when>
  <xsl:when test="...2">whatever 2</xsl:when>
  <xsl:when test=".3..">whatever 3</xsl:when>
 </xsl:choose>
</xsl:variable>

On 27/03/2008, Z W <mpc8250(_at_)gmail(_dot_)com> wrote:
Hi Gurus

 I have a variable that can be 1 of 3 values.
 How do I write this in xsl where it could take on 1 of 3 values based
 on certain conditions ?
 I'm getting errors saying one cannot declare more than 1 variable.

 MAny thanks

 --~------------------------------------------------------------------
 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>
 --~--



--~------------------------------------------------------------------
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>