Hi Jesse,

"Jesse Pelton" <[EMAIL PROTECTED]> writes:

> Alternatively, you can write a DTD or schema for your documents and let
> Xerces sort out which nodes are white space in element content.  You'll
> still need to check whether the node you're processing is a text node;
> if it is, DOMText::getIsWhitespaceInElementContent() will tell you
> whether it's white space in element content.

There is actually a parsing feature, fgDOMWhitespaceInElementContent,
when set to false it results in all ignorable whitespaces being removed
from the resulting DOM document. Very handy.


hth,
-boris


-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to