jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz" <bdelacre...@apache.org>
Subject Re: getNode without the name
Date Tue, 26 Jun 2007 09:18:23 GMT
On 6/26/07, Frédéric Esnault <fesn@legisway.com> wrote:

> ...For example, under the lgw:contracts node, I have plenty of nodes named with their
> uuid. I want, from the lgw:contracts node, to get the node with index 5.

Not sure what you mean by index, but Node.getNodes() returns a
NodeIterator, and with NodeIterator.skip(int n) you can move to a
specific child. Isn't that what you need?

View raw message