[jdom-interest] Children list

Corcos Igal CorcosI at BanqueLaurentienne.ca
Wed Mar 14 15:04:17 PST 2001


Is there  a way in JDOM to get all the children of an element but skipping
certain elements?

For example,

given:
	<root>
	    <e1></e1>
                <e2></e2>
                <e3></e3>
	    <e4></e4>
	</root>

Is there a way to get e2, e3, and e4 in a list that we can iterate through?

If not, does anyone have any suggestions on how one might accomplish this
task?

Thanks.

-Igal Corcos




More information about the jdom-interest mailing list