[jdom-interest] xmlns="" in children elements of root
laurent.bihanic at atosorigin.com
Wed Aug 29 09:46:58 PDT 2001
philip.nelson at omniresources.com wrote:
> Really, it's easier than you think. Create the parent element with a
> namespace and then use the overloaded constructors for the children that
> take namespace objects, and pass the parents namespace.
Yet, I agree with Rodney that if you define a default Namespace one can expect
the constructor with no Namespace argument to use the default Namespace.
This is not an issue of whether JDOM is right or wrong but rather of how
intuitive the JDOM API is and should be.
More information about the jdom-interest