[jdom-interest] getChild(String elementName) -v- getChild(String elementName, Nam espace ns)

David Proksch david.proksch at av.com
Wed Apr 25 08:23:51 PDT 2001


I'm new to the JDOM API, and I'm using the beta 6 version.  When you try to
find a child of the root element by just name, ignoring the namespace it is
in, getChild(String elementName) returns null.  When you specify the
namespace and the name of the child element, the method returns the correct
results.  Is this correct, or do I not understand the method?

Thanks in advance for any assistance!

Dave Proksch

More information about the jdom-interest mailing list