This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: String comparision in XPath
- To: xsl-list at mulberrytech dot com
- Subject: Re: String comparision in XPath
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 30 Mar 2000 09:17:35 GMT
- References: <002301bf9a0c$87482300$17949fc1@kuenzler>
- Reply-To: xsl-list at mulberrytech dot com
> "2000-03-30<=@date"
<= only works on numbers.
If you knoiw the dates are always in the form yyyy-mm-dd then you can do
"20000330 <=translate(@date,'-','')"
If you want to use more exotic date forms then probably you want to use
an extension function to get date handling functions from java.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list