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