How to ignore whitespaces

Can anybody help me with the following problem:

When I am parsing an XML-File with the SUN-parser via the new
javax.xml.parsers package I get all whitespaces as text nodes in the DOM.
Can I say the parser in some way to ignore the whitespaces?

Thanks for your attention,

Stefan Wachter
SWachter@heyde.de
 

Received on Monday, 20 March 2000 11:58:41 UTC