Alexander Klimetschek a écrit :
On Thu, Jul 17, 2008 at 4:44 PM, Emmanuel Hugonnet <[EMAIL PROTECTED]> 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.

Regards,
Alex

Thanks,
That's what I was doing but with over 3000 nodes this is quite a bottleneck for performance :-( Maybe I should add an attribute for better filtering but I am moving from the data to the logic :-(
Regards,
Emmanuel

Reply via email to