Subject: Re: [xsl] Tricky one From: Kurt George Gjerde <kurt.gjerde@xxxxxxxxxxxxxxxxx> Date: Thu, 22 Aug 2002 16:13:36 +0200 (MET DST) |
Your pseudo code would directly translate into this, which should work. <xsl:choose> <xsl:when test="/root/abc/def/ghi='FRED'"> <xsl:choose> <xsl:when test="/root/abc/def/ghival!=''"> <xsl:value-of select="/root/abc/def/ghival"/> </xsl:when> <xsl:otherwise> <xsl:text>0</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:text>0</xsl:text> </xsl:otherwise> </xsl:choose> -Kurt. __________ kurt george gjerde <kurt.gjerde@xxxxxxxxxxxxxxxxx> intermedia uib, university of bergen Just say .no XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Tricky one, Thomas B. Passin | Thread | [xsl] document() missing the docume, Bernd Gauweiler |
Re: [xsl] document() missing the do, Thomas B. Passin | Date | Re[2]: [xsl] document() missing the, Bernd Gauweiler |
Month |