[jdom-interest] Re: namespacing and SAXBuilder (Derek Akers)

Tony Montgomery Smith tonyms at compuserve.com
Sat Jan 27 14:26:38 PST 2001

My workaround for this problem is to use the form of getChild() that takes the
namespace as a second para, thus:

  Element process =3D ((Element)childs.get(0)).getChild("Process",

where root is the root element.

Hope this helps.

It would be neat is this were the default namespace for getChild(String), rather
than assuming no namespace. But changing this might be tricky. The FAQ could
highlight this issue with advantage.


More information about the jdom-interest mailing list