Dear list

I have "room" nodes with "calendar" subnodes (i.e. reservations). Now I would 
like to find all rooms not having any reservations between x and y. The 
opposite is fairly easy:

/jcr:root/path/to/rooms/element(*,rooms)/reservations/element(*,reservation)[...@endtime
 > xs:dateTime(x) and @startTime < xs:dateTime(y)]

Is there any efficient way to reverse this?
Thanks!

-will

Reply via email to