jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Bologna" <alessandro.bolo...@gmail.com>
Subject Re: xpath search
Date Thu, 29 Mar 2007 22:06:51 GMT
Did you try with [not(jcr:contains(jcr:content, 'test'))]?
The parenthesis after the 'not' may help.

Alessandro


On 3/29/07, KÖLL Claus <C.KOELL@tirol.gv.at> wrote:
>
> can anybody tell me please how i negate a
> jcr:contains() and jcr:like() ?
>
> something like
> //element(*, nt:base)[not jcr:contains(jcr:content, 'test')]
> or
> //element(*, nt:base)[jcr:contains(jcr:content, 'test') and not
> jcr:like(@my:createuser, 'admin%')]
> doesnt work ...
>
> thanks
> claus
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message