You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by kooper <se...@list.ru> on 2010/08/03 15:42:35 UTC

Re: jcr:contains exclude value format

OK thanks to all that tried to help me:). I figured out the reason, we need
filled set of values to exclude -(minus) value from it. So only
//*[(jcr:contains(.,'-value'))] won't work, but  //*[(jcr:contains(.,'value1
-value2'))] will work correctly. Thanks.
-- 
View this message in context: http://jackrabbit.510166.n4.nabble.com/jcr-contains-exclude-value-format-tp2304986p2311878.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Re: jcr:contains exclude value format

Posted by Ard Schrijvers <a....@onehippo.com>.
Hello,

you can try not(jcr:contains(','value'))

think this should work..

Regards Ard

On Tue, Aug 3, 2010 at 3:42 PM, kooper <se...@list.ru> wrote:
>
> OK thanks to all that tried to help me:). I figured out the reason, we need
> filled set of values to exclude -(minus) value from it. So only
> //*[(jcr:contains(.,'-value'))] won't work, but  //*[(jcr:contains(.,'value1
> -value2'))] will work correctly. Thanks.
> --
> View this message in context: http://jackrabbit.510166.n4.nabble.com/jcr-contains-exclude-value-format-tp2304986p2311878.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>