jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: XPATH
Date Tue, 04 Nov 2008 13:01:21 GMT
hartmut.zimmermann@basf-it-services.com wrote:
> is it possible to formulate an xpath expression,  to get the aquired node +
> all of his ancestors?

I assume you mean a node in a query result when you say 'acquired node'.

that's currently not possible, but you can easily walk up the ancestor axis
using the JCR API Node.getParent().

regards
 marcel

Mime
View raw message