Subject: Re: [xsl] testing dates From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 8 Sep 2004 10:36:36 +0100 |
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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] testing dates, David Carlisle | Thread | Re: [xsl] testing dates, Peter Flynn |
Re: [xsl] testing dates, David Carlisle | Date | RE: [xsl] testing dates, Michael Kay |
Month |