xsl-list
[Top] [All Lists]

Re: testing dates

2004-09-08 02:36:36

  In XSLT2 you could cast the strings to dates then do a date-aware
  comparison.

in xslt 1 you could use
translate('2004-06-27','-','')  so that you are comparing the numbers
20040627 and 20040905 

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>