[jdom-interest] RE:XML tree traversing

Vamshi Reddy Vamshi.Reddy at whn.com
Thu Dec 28 16:24:29 PST 2000


>   Element getFirstChild();              - returns first child element
> or null
> 
>   Element getNextSibling();             - returns next sibling element
> or null
> 
> and possibly:
>   Element getPrevSibling();

How about getChildren().listIterator(), which has both next(), previous().

- Vamshi


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20001228/d846b3e4/attachment.htm


More information about the jdom-interest mailing list