James Silva wrote:
> Basically, i need to run some kind of MOD() function to set a
> class for each
> second <TR>.
>
> Is this possible with XSLT? Or do i need to look at doing some
> pre/post processing of my data using ASP?
Hi James,
I found this in one of my old XSL files, no idea if it works though :)
<tr>
<xsl:if expr="even(this)">
<xsl:attribute name="style">background-color: #e3e3e3;</xsl:attribute>
</xsl:if>
<td>...</td>
</tr>
etc.
If that does you no good, take a look at the ZVON XSLT reference:
http://zvon.org/xxl/XSLTreference/Output/index.html
--
Lindsay Evans.
Developer,
Red Square Productions.
[p] 8596.4000
[f] 8596.4001
[w] www.redsquare.com.au
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************