Re: [xsl] Date comparasions

Subject: Re: [xsl] Date comparasions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 6 Sep 2007 21:53:50 +0100
> > The nature of the problem is that I need to do the date comparasions in the 
> xsl.

XSLT2 has  (XML XSD Schema) dates as a built in datatype , but if all
your dates are in teh form shown yyyy-mm-dd then even in xslt 1 you can
just use &lt; to compare them as string comparison works fine.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread