vedmack 0 Junior Poster in Training

I have an Xml file from which i want to delete some different node, im doing it by using the .removeChild method, and it works just fine, the problem is that after im doing so , i getting empty line instead of the deleted node (it does not affect the xml file, but still its not supposed to be this way,

(Im using Xerces)

Here an example of my use:

bigData.removeChild(smallData);

Here an examle:

<xml>
 <count>
   <One/>
   <Two/>
 </count>
</xml>

After deletion

<xml>
 <count>
   <One/>

 </count>
</xml>

any ideas how to fix it?

Thanks ahead!

Daniel.