dom4j-user  

Re: [dom4j-user] Element.addElement() & namespaces

Edwin Dankert
Mon, 10 Oct 2005 08:35:42 -0700

> Calling Element.addElement("name") gives different results from
> Element.addElement("name", "default_uri") where in the parent
> (not root) node I have xmlns="default_uri"

No, they should be different, in the first example you add a
'name' element without a namespace.

In the second example you add a 'name' element with the
'default_uri' namespace.

Regards,
Edwin

--
http://www.edankert.com/


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user