Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 37022 invoked from network); 7 Aug 2008 20:51:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 20:51:16 -0000 Received: (qmail 16589 invoked by uid 500); 7 Aug 2008 20:51:15 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 16119 invoked by uid 500); 7 Aug 2008 20:51:14 -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 16108 invoked by uid 99); 7 Aug 2008 20:51:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 13:51:14 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 20:50:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KRCRY-000531-Qd for users@jackrabbit.apache.org; Thu, 07 Aug 2008 13:50:44 -0700 Message-ID: <18879386.post@talk.nabble.com> Date: Thu, 7 Aug 2008 13:50:44 -0700 (PDT) From: hsp_ To: users@jackrabbit.apache.org Subject: Search question, with jcr:path. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: piccinatto@ibest.com.br X-Virus-Checked: Checked by ClamAV on apache.org I need to search some nodes that are of an specific type, but not of specific another type nor its descendent. something like //(*,y)[@jcr:primaryType != 'x'] So, the @jcr:primaryType!='x' would not resolve because only the nodes of type 'x' would be filtered. Would this be resolved by an xpath expression, or I will filter after by the application? I thought in get all the type descendants of x and put in the filter, but if another elegant solution exists... Thanks Helio. -- View this message in context: http://www.nabble.com/Search-question%2C-with-jcr%3Apath.-tp18879386p18879386.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.