Help with xsl:for-each loop

webmasterbeta

New Member
Could some one please assist me with this before I lose what hair I haveleft? It's a pretty straight-forward question:<xsl:for-each select="./" order-by="./*[0]"><tr><xsl:if "TEST = MOD OF ITERATION"><xsl:attribute name="bgcolor">somecolor</xsl:attribute></xsl:if><xsl:for-each select="./*"><td> <xsl:value-of/></td></xsl:for-each></tr></xsl:for-each>My question is how do I get the value of the loop iteration so that I canmake the <tr>'s alternate colors?aopreciatively,Keith
 
Back
Top