[XML-SIG] Ignoring whitespace with DOM

Adrian Eyre a.eyre@optichrome.com
Tue, 14 Dec 1999 10:12:41 -0000


> Or, after parsing, are there methods to "filter out" whitespace nodes?

In the current xml dist, in dom.utils, there's a handy function called
"strip_whitespace" which should do what you need.

On an similar topic, I noticed that many people have posted functions
to add whitespace to format the DOM in a tree-like way. Are there any
plans to incorporate these into the main xml dist?

--------------------------------------------
Adrian Eyre <mailto:a.eyre@optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com 
--------------------------------------------