Re: [xsl] Selection based on date comparison

Subject: Re: [xsl] Selection based on date comparison
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Nov 2001 20:41:17 GMT
] <msxsl:script language="JScript" implements-prefix="date"><![CDATA[
] function a_is_greater_than_b(a,b){
]   return ((new Date(a)) > (new Date(b)));
] }
] ]]></msxsl:script>


although presumably (?) that definition will return either true() or
false() for
a_is_greater_than_b(01/02/2001,02/01/2001)
depending on where it is run.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread