This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: String comparision in XPath




> "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 &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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]