vivek agarwal wrote:

I don't have a grammar for the DOM created which can be used to
determine the ignorable whitespaces, but, if I know that the XML
represented as DOM has no mixed content, then how can I ignore the
ignorable whitespaces (between 2 start tags) while generating SAX
events?


I'm not aware of any feature you can set to ignore those text nodes. Should be easy to implement with an XMLFilter, though.

-- Santiago



Reply via email to