Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 17856 invoked from network); 17 Nov 2010 13:48:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Nov 2010 13:48:47 -0000 Received: (qmail 58610 invoked by uid 500); 17 Nov 2010 13:49:18 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 58435 invoked by uid 500); 17 Nov 2010 13:49:17 -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 58423 invoked by uid 99); 17 Nov 2010 13:49:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 13:49:16 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.42] (HELO mail-vw0-f42.google.com) (209.85.212.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 13:49:09 +0000 Received: by vws9 with SMTP id 9so930737vws.1 for ; Wed, 17 Nov 2010 05:48:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.189.20 with SMTP id dc20mr7814720qcb.125.1290001728558; Wed, 17 Nov 2010 05:48:48 -0800 (PST) Received: by 10.229.240.211 with HTTP; Wed, 17 Nov 2010 05:48:48 -0800 (PST) In-Reply-To: References: Date: Wed, 17 Nov 2010 23:48:48 +1000 Message-ID: Subject: Re: 'reverse path prefix' xpath query From: Torgeir Veimo To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 17 November 2010 23:40, Clemens Wyss wrote: > Where are the subscribers located/persisted? > Beneath /blog//subscribers (e.g. /blog/wildlife/subscribers)? I= f so you could take the node's path, apply the following regexp /(\/.*\/.*\= /)/ on it (->/blog/wildlife/) and then get the childnodes of the regexp res= ult concatenated with 'subscribers' (-> /blog/wildlife/subscribers)... So the only solution is to store the subscriber list local to the data being subscribed to? --=20 -Tor