v***@gmail.com
2007-07-08 00:12:30 UTC
How do you do a date comparison in xslt?
if Ihave something like:
<xsl:value-of select="format-number(sum($something[ xyz ... ]
where xyz is checking the value of some variable like "valid=y", and I
want to extend that check to say "if valid = y and date > 1 Jan 2007"
how do I do it?
Should something like this work?
date > '01-Jan-2007' ?
date is coming from a sybase table.
Many thanks,
if Ihave something like:
<xsl:value-of select="format-number(sum($something[ xyz ... ]
where xyz is checking the value of some variable like "valid=y", and I
want to extend that check to say "if valid = y and date > 1 Jan 2007"
how do I do it?
Should something like this work?
date > '01-Jan-2007' ?
date is coming from a sybase table.
Many thanks,