[XML-SIG] Removing Whitespace

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Wed, 23 Apr 2003 15:47:41 +0200


On Wed, Apr 23, 2003 at 04:37:36PM +0300, Tonguç Yumruk wrote:
> Thanks, but I don't use Sax, I just use the Sax2 reader from xml.dom.ext
> package to build a dom tree. I'm looking for a function that will remove
> whitespace nodes from my dom tree.

Sorry for the too-quick-reading.

Have you tried to use the xml.dom.ext.StripXml function on your
document? It should do exactly what you want.

-- 
Alexandre Fayolle
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Développement logiciel avancé - Intelligence Artificielle - Formations