jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Not referenced
Date Thu, 17 Jul 2008 16:24:06 GMT
On Thu, Jul 17, 2008 at 4:44 PM, Emmanuel Hugonnet <ehsavoie73@gmail.com> wrote:
> I would like to get all the nodes of a list that are NOT referenced.
> Is there a way to do this with a XPath Query  because  it looks like
> reference is a one way axis for xpath :( .

I think it is not possible with a query. You can iterate over all the
nodes you want to inspect, call getReferences() on it and hence find
out, which ones are referenced by another node.


Alexander Klimetschek

View raw message