"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]
RE: Help with getting the next sibling
David N Bertoni/Cambridge/IBM Tue, 01 Oct 2002 08:38:58 -0700
- Help with getting the next sibling Ken Miller
- Re: Help with getting the next sibling Justin Kirby
- Re: Help with getting the next sibl... Gareth Reakes
- RE: Help with getting the next ... Mark Weaver
- RE: Help with getting the n... Ken Miller
- RE: Help with getting ... Gareth Reakes
- David N Bertoni/Cambridge/IBM
