jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsp_ <piccina...@ibest.com.br>
Subject XPath search with date function embbeded......
Date Tue, 15 May 2007 13:13:51 GMT

Hi;
I need to do a search that compare the value in a date propertie adding a
constant to this propertie, something like this:
//element(*,nt:base)[ (@prop:date + xs:dateTime('"+dateContant+"') ) < 
xs:dateTime('"+today+"')]";

My dificult is on: (@prop:date + xs:dateTime('"+dateContant+"') )
because the comparison ' <  xs:dateTime('"+today+"') ' is ok for only a
propertie.

I would to add some days or months or years to the value of the propertie
and compare to some date.

Would my query be possible?
TKS
Helio.
-- 
View this message in context: http://www.nabble.com/XPath-search-with-date-function-embbeded......-tf3758378.html#a10622484
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message