Re: xml : remove a node with dom

2010-10-28 Thread alain walter
if node.nodeValue == "xxx_toremove_xxx": dom.removeChild(node1) testRemoving(node1) On 28 oct, 13:47, de...@web.de (Diez B. Roggisch) wrote: > alain walter writes: > > Hello, > > I have many difficulties to manipulate xml rout

xml : remove a node with dom

2010-10-28 Thread alain walter
Hello, I have many difficulties to manipulate xml routines. I'm working with python 2.4.4 and I cannot change to a more recent one, then I use dom package, why not. In the following code, I'm trying unsuccessfully to remove a particular node. It seems to me that it should be basic, but it's not. Th