Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 81419 invoked from network); 29 Mar 2007 22:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Mar 2007 22:07:52 -0000 Received: (qmail 60358 invoked by uid 500); 29 Mar 2007 22:07:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 60341 invoked by uid 500); 29 Mar 2007 22:07:57 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 60332 invoked by uid 99); 29 Mar 2007 22:07:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 15:07:57 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alessandro.bologna@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 15:07:49 -0700 Received: by nf-out-0910.google.com with SMTP id x4so359223nfb for ; Thu, 29 Mar 2007 15:07:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=t/IA5VLWVIAq3goht1gYb6Ey7N+GsypouXeYnZ3b7YTCfbgHsiEUGr+qecr0xr2EUifER3hhnu3l+qpLWm3ydt435JC5l0mG6YhzqOR7dsaK50SCPhjoUNxrfDj8IgYsBxyvO5bzD5Yeu5/L+NZ0s2AoXiivyKGszrp3kQQhXeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=T3L24rIVMnggQbayeCZCNnNTRbz/csfhAvWI4qsepJS///RvpRcI+pSYxO4P8T23qZYLjOjVh4l959inLJm+rsLZL7eS/zQ+8KOUV7HPE7Oay199U2ZwQxGHC3p9//+qGxtYDPfWpPphHOjeSEJLTmeh5WdOm684Wea5UR8bGS8= Received: by 10.78.171.13 with SMTP id t13mr650355hue.1175206047438; Thu, 29 Mar 2007 15:07:27 -0700 (PDT) Received: by 10.78.185.1 with HTTP; Thu, 29 Mar 2007 15:06:51 -0700 (PDT) Message-ID: <29a095670703291506p49ce9dc9i9d2d6519b1195e6b@mail.gmail.com> Date: Thu, 29 Mar 2007 18:06:51 -0400 From: "Alessandro Bologna" To: users@jackrabbit.apache.org Subject: Re: xpath search In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18752_27995679.1175206011444" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18752_27995679.1175206011444 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Did you try with [not(jcr:contains(jcr:content, 'test'))]? The parenthesis after the 'not' may help. Alessandro On 3/29/07, K=D6LL Claus 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 > ------=_Part_18752_27995679.1175206011444--