"Ken Miller" <[EMAIL PROTECTED]> wrote:
> Is it possible to tell the parser to ignore whitespaces without the DTD?

No.

> I am using an XSD for the XML file, you can't set ignore whitespaces
> inside the XSD can you?

Don't know...

> Is there anyway to trap the whitespaces inside a program using xerces
> and then just simply not create the dummy sibling if it is a whitespace,
> vice an actual node?  I have tried testing to see if the
> *(nodeValue.transcode()) != '\n' and also to ' ', but no dice.

Using transcode() this way is a memory leak so you don't want to do that.

You should look at the code for XMLString::isAllWhiteSpace().  That will
show you the best way to check for whitespace-only text nodes.

Dave


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

Reply via email to