You can use the choose-when-otherwise construct for that:
<xsl:choose>
<xsl:when test="condition 1">
do something.
</xsl:when>
<xsl:when test="condition 2">
do something.
</xsl:when>
<xsl:otherwise>
do something.
</xsl:otherwise>
</xsl:choose>
-----Original Message-----
From: Kotes Mogili [mailto:Kotes(_dot_)Mogili(_at_)sprint-canada(_dot_)com]
Sent: Monday, February 09, 2004 1:58 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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