This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: conditionals and xsl:choose
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] conditionals and xsl:choose
- From: "Raj Avula" <raj_avula at hotmail dot com>
- Date: Thu, 8 Mar 2001 14:25:08 -0800
- References: <a05001906b6cd9f439668@[63.39.4.215]>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@monsterdaata.com>
To: "xsl-list" <xsl-list@lists.mulberrytech.com>
Sent: Thursday, March 08, 2001 12:42 PM
Subject: [xsl] 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