Subject: Re: conditionals and xsl:choose
From: "Raj Avula" <raj_avula@xxxxxxxxxxx>
Date: Thu, 8 Mar 2001 14:25:08 -0800
|
Here is the example
<xsl:choose>
<xsl:when test='$level=1'>
<xsl:number format="i"/>
</xsl:when>
<xsl:when test='$level=2'>
<xsl:number format="a"/>
</xsl:when>
<xsl:otherwise>
<xsl:number format="1"/>
</xsl:otherwise>
</xsl:choose>
Thanks,
Raj
----- Original Message -----
From: "Alex Reuter (by way of MulberryTechnologies List Owner)"
<areuter@xxxxxxxxxxxxxxxx>
To: "xsl-list" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 08, 2001 12:42 PM
Subject: conditionals and xsl:choose
> Hello list,
>
> I was wondering if anyone knew whether there was a way to test multiple
> conditions,
> for example
> <xsl:when test="condition 1 is false AND condition 2 is false AND
condition
> 3 is false">
> DO SOME STUFF
> <xsl:otherwise>
> DO OTHER STUFF
>
>
>
> Thanks,
> Alex Reuter
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|