Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 48233 invoked from network); 27 Oct 2008 09:54:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2008 09:54:50 -0000 Received: (qmail 42548 invoked by uid 500); 27 Oct 2008 09:54:53 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 42532 invoked by uid 500); 27 Oct 2008 09:54:53 -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 42521 invoked by uid 99); 27 Oct 2008 09:54:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 02:54:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Oct 2008 09:53:40 +0000 Received: (qmail invoked by alias); 27 Oct 2008 09:54:18 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.73]) [62.192.10.254] by mail.gmx.net (mp036) with SMTP; 27 Oct 2008 10:54:18 +0100 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX18t35UWsSktk2oCeesbKs0fpSONWpQjPcgR86PcCm JFCFfSvdmg8KES Message-ID: <49058FC7.9090402@gmx.net> Date: Mon, 27 Oct 2008 10:54:15 +0100 From: Marcel Reutegger User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Xpath query based on dynamic property name References: <20126431.post@talk.nabble.com> <4901B48E.5090102@gmx.net> <20149365.post@talk.nabble.com> In-Reply-To: <20149365.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-Virus-Checked: Checked by ClamAV on apache.org iapilgrim wrote: > Yes, traverse the tree and collect desired node is a possible way. I just > want to know how to got post by tag ( ex tag have value 'xxx'), but as i > know so far, current Jackrabbit (1.4.6) doesn't support query xpath with > fn:name() or local-name() ... so traverse the tree is unique way to get post > by tag. I don't know traverse the tree leads to some perfomance issues or > not ( i'm not sure). Could you give me a hint? dereferencing a list of paths is certainly not more expensive than executing a query that would return the same result. regards marcel