Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 77781 invoked from network); 24 Nov 2010 16:50:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Nov 2010 16:50:45 -0000 Received: (qmail 71600 invoked by uid 500); 24 Nov 2010 16:51:16 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 71379 invoked by uid 500); 24 Nov 2010 16:51:15 -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 71369 invoked by uid 99); 24 Nov 2010 16:51:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:51:14 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aklimets@adobe.com designates 64.18.1.31 as permitted sender) Received: from [64.18.1.31] (HELO exprod6og113.obsmtp.com) (64.18.1.31) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:51:05 +0000 Received: from source ([192.150.11.134]) by exprod6ob113.postini.com ([64.18.5.12]) with SMTP ID DSNKTO1CYvxlYcC+/pUBY7wNqdlD43zdIxOF@postini.com; Wed, 24 Nov 2010 08:50:45 PST Received: from inner-relay-4.eur.adobe.com ([192.150.8.237]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id oAOGoN3f010589 for ; Wed, 24 Nov 2010 08:50:23 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id oAOGoeWj019462 for ; Wed, 24 Nov 2010 08:50:40 -0800 (PST) Received: from excas03.corp.adobe.com (10.8.189.123) by nacas02.corp.adobe.com (10.8.189.100) with Microsoft SMTP Server (TLS) id 8.2.254.0; Wed, 24 Nov 2010 08:50:39 -0800 Received: from eurhub01.eur.adobe.com (10.128.4.30) by excas03.corp.adobe.com (10.8.189.123) with Microsoft SMTP Server (TLS) id 8.2.254.0; Wed, 24 Nov 2010 08:50:39 -0800 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Wed, 24 Nov 2010 16:50:37 +0000 From: Alexander Klimetschek To: "users@jackrabbit.apache.org" Date: Wed, 24 Nov 2010 16:50:35 +0000 Subject: Re: xpath query of subnode Thread-Topic: xpath query of subnode Thread-Index: AcuL97fZEo9K4htVRdyqBsomL0PKwA== Message-ID: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.0.0.100825 acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 24.11.10 16:56, "Nicolas Betheuil" wrote: >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 >everyone. 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 =3D false". Regards, Alex --=20 Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel