Re: [dom4j-user] removing namespace

2009-11-14 Thread Edwin Dankert
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

Re: [dom4j-user] removing namespace

2009-11-13 Thread Yevgeniy Belman
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

[dom4j-user] removing namespace

2009-11-13 Thread Yevgeniy Belman
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