xsl-list
[Top] [All Lists]

RE: How to implement "if else if else" condition in XSLT

2004-02-09 12:31:05
Thanks for the help

--kotes

-----Original Message-----
From: Ryan Graham [mailto:Ryan(_dot_)Graham(_at_)apollogrp(_dot_)edu]
Sent: Monday, February 09, 2004 2:25 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: RE: [xsl] 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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Kotes Mogili
Sent: Monday, February 09, 2004 11:58 AM
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


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list