jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: xpath query of subnode
Date Wed, 24 Nov 2010 16:50:35 GMT
On 24.11.10 16:56, "Nicolas Betheuil" <Nicolas.Betheuil@europe.adp.com>

>Thank's for your quick answer but it's seems doesn't work. I speak about
>the not function of course. The other part (/aRootNode/subNode//*) is
>working expect that the root of a repo is always jcr:root and the
>rootNode is of course under this node. That was a mistake in my first
>post but like it's something i understand i want to make it available to

Might be that not() doesn't work properly with nodes and/or same-name
siblings. I thought it would do.

As a workaround, you could set a property like "hasConditions" or
"noConditions" on your target nodes and query for them: "@hasConditions =


Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel

View raw message