Re: String comparision in XPath

Subject: Re: String comparision in XPath
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 30 Mar 2000 09:17:35 GMT

> "2000-03-30&lt;=@date"

<= only works on numbers.
If you knoiw the dates are always in the form yyyy-mm-dd then you can do

"20000330 &lt;=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


Current Thread