jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Elshereay <AElsher...@idc.com>
Subject Re: xpath query problem
Date Fri, 16 Jul 2010 12:00:04 GMT
Hi Alex,

Thank you too much for your help, now it works :-)

But please I have another question, I also want to search for event nodes 
that have the jcr:created property < or > some Date, and I know I can use 
xs:dateTime() to say for example:
[fn:name() = 'event' and @jcr:created >= 
xs:dateTime('2010-07-15T01:29:50.050Z')]

I tried to pass the xs:dateTime() a someJavaDate.toString() but it didn't 
work!

How can I get the xs:dateTime() parameter value from a java Date?

Thank you once more for your help.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message