Subject: RE: How to implement "if else if else" condition in XSLT
From: "Kotes Mogili" <Kotes.Mogili@xxxxxxxxxxxxxxxxx>
Date: Mon, 9 Feb 2004 14:31:05 -0500
|
Thanks for the help
--kotes
-----Original Message-----
From: Ryan Graham [mailto:Ryan.Graham@xxxxxxxxxxxxx]
Sent: Monday, February 09, 2004 2:25 PM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: How to implement "if else if else" condition in XSLT
<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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|