[XML-SIG] Ignoring white-space in Dom trees

Mike Brown mike at skew.org
Wed Sep 22 23:44:53 CEST 2004

James King wrote:
> My Questsions:
> Is there a way exclude these nodes from the Dom; something like an 
> ignore_whitespace setting for the 4suite Domlette?

Yes indeed, and this question was asked 2 days ago on the 4Suite list,
coincidentally. Please see


You just need to set the stripElements argument in the InputSource
constructor or the XML reader parse method. It's a list of 3-tuples,
not very well documented, but just follow the example.

More information about the XML-SIG mailing list