XSL Transformations

admin

Administrator
Staff member
Hi I am using to the following xsl code snipet to format the background colorfor a cell within a table.<td><xsl:if test="EndDate > 2000-12-31"><xsl:attribute name="bgcolor">lightgreen</xsl:attribute></xsl:if><xsl:value-of select="EndDate"/></td>My problem is that the date comparison does not seem to be working. WhenI attempt this by working with another condition that is simply a numberthe process works fine.Any suggestions on what might be the problem?Larry
 
Back
Top