Subject: RE: How to implement "if else if else" condition in XSLT
From: Ryan Graham <Ryan.Graham@xxxxxxxxxxxxx>
Date: Mon, 9 Feb 2004 12:24:40 -0700
|
<xsl:choose>
<xsl:when test"some condition">
Execution statements...
</xsl:when>
<xsl:when test="some other condition">
Execution statements...
</xsl:when>
<xsl:otherwise>
Default statements...
</xsl:otherwise>
</xsl:choose>
HTH,
RG
>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
>Kotes Mogili
>Sent: Monday, February 09, 2004 11:58 AM
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Subject: How to implement "if else if else" condition in XSLT
>
>
>Hi,
>
>Is there a way to implement the following condition in XSLt..
>
>if(){
>...
>}else if{
> ....
>}else{
> ...
>}
>
>Thanks for any suggestion ..
>
>--kotes
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|