You will have to remove and set the namespace for each node in the
tree. This is a limitation/functionality of all of the XML Object
Models at the moment.
I agree that this is not 'intuitive' and not in line with how you
specify a namespace in a XML document, where the namespace gets
inherited by
found this post. It definitely works, but is this the desired approach?
http://www.mail-archive.com/dom4j-user@lists.sourceforge.net/msg01591.html
On Fri, Nov 13, 2009 at 4:41 PM, Yevgeniy Belman wrote:
> Hi, I'm using dom4j to parse and map xml docs and could really use some
> help with 1.6.1
Hi, I'm using dom4j to parse and map xml docs and could really use some help
with 1.6.1 library. When i do an Element.remove(Namespace), the namespace
does not get removed. Here's a snippet where i am trying to remove xmlns
from the NbOfTxnPerSts element. It is not working for me. Any ideas?
Eleme