[jdom-interest] Element.getChildren(java.lang.String name)?

Kevin Baynes kbaynes at renex.com
Wed Mar 7 08:13:31 PST 2001

Are you calling : Element.getChildren(complexType)
or Element.getChildren("complexType") ?

The second one is the one you need. The first one would expect complexType
to contain a String with the name of the Element you want, in this case


-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Paul Simon Barriscale
Sent: Wednesday, March 07, 2001 4:53 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Element.getChildren(java.lang.String name)?

I'm having trouble accessing the the children of a specific element.
this is a fragment of the XML

<complexType name="RepositoryType">
		<element name="IRObject" type="IRObjectType"/>

by when I call Element.getChildren(complexType) it does not find this
Am i calling this method incorrectly? any help is appreciated.


Paul Barriscale
barrisca at student.cs.ucc.ie    http://student.cs.ucc.ie/01/barrisca
University College Cork
To control your jdom-interest membership:

More information about the jdom-interest mailing list