ignoring whitespace?

Lev Lvovsky <[email protected]> Tue, 26 Jun 2007 10:55:38 -0700
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Is there any method which allows for the ignoring of whitespace  
between elements?

<element1>
	<element2>some text</element2>
</element1>

this doesn't seem to parse (understandably, I suppose).

thanks!
-lev