[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
"complexType".
-Kevin
-----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">
<sequence>
<element name="IRObject" type="IRObjectType"/>
...
...
</sequence>
</complexType>
by when I call Element.getChildren(complexType) it does not find this
element.
Am i calling this method incorrectly? any help is appreciated.
Regards,
Paul
--
Paul Barriscale
barrisca at student.cs.ucc.ie http://student.cs.ucc.ie/01/barrisca
_______________________________________________________
University College Cork
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list