[jdom-interest] How to [easily] deal with optional children?

Jason Hunter jhunter at collab.net
Tue Sep 12 11:53:42 PDT 2000


> What I really want to do is get the first (only) child of the Request
> element then use element.getName() to determine which one actually
> appears in the document.

getChildren() returns a List of children.

-jh-



More information about the jdom-interest mailing list