[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: new poster / conditionals in for-each
Subject: Re: new poster / conditionals in for-each From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 19 Jan 2000 16:49:37 GMT |
<if current loop is divisible by 2> <tr bgcolor="ffffff"> <if it isn't> <tr bgcolor="e0e0e0"> </if> . . . <tr> <xsl:attribute name="bgcolor"> <xsl:choose> <xsl:when test="position() mod 2 = 0">ffffff</xsl:when> <xsl:otherwise>e0e0e0</xsl:otherwise> </xsl:choose> </xsl:attribute> </tr> David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
new poster / conditionals in for-ea, Chris Reeves | Thread | Basic XSL techniques, Guralnik |
WHAT IS THE "::" SYNTAX USED FOR ??, Jonathan Asbell | Date | Oracle XSLProcessor Java calls, sj |
Month |