Subject: RE: [xsl] How to implement "if else if else" condition in XSLT From: "Govil, Anoop (Contractor)" <Anoop.Govil@xxxxxxxxxxxxxxxx> Date: Mon, 9 Feb 2004 14:35:46 -0500 |
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.Mogili@xxxxxxxxxxxxxxxxx] Sent: Monday, February 09, 2004 1:58 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to implement "if else, Kotes Mogili | Thread | [xsl] Normalize / Simplify HTML-Tab, Markus Reinsch |
RE: [xsl] How to implement "if else, Kotes Mogili | Date | RE: [xsl] How to implement "if else, Andreas L. Delmelle |
Month |