Hi All
I have this XSL code, but I am trying to get it so every other row is
light grey and the ones in between are white. I want the headers to be anjother colour all together.
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<body>
<table border="2" bgcolor="yellow">
<tr>
<th>OrderNum</th>
<th>Date</th>
</tr>
<xsl:for-each select="ExportQuery/ELEC01_SalesOrdersWaitingParts[NotEnoughStock='TRUE']">
<tr>
<td class="class"><xsl:value-of select="OrderHed_OrderNum"/></td>
<td class="class"><xsl:value-of select="OrderHed_OrderDate"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Any help would be greatly appreciated.
Thanks.