I want to ignore white spaces while parsing an XML Source.
The Node value for TEXTNODE for NODE12, is the following ASCII chars 10-32-32-32-32-32-32
(essentailly blank charanters). How can I configure my parser to ignore these white spaces and return an empty string for the node value, or better still, return a NULL TEXTNODE.
I dont know it this is relevant, but I also require
to be an illegal XML Fragment, even if I am ignoring blank spaces.
Further, if I try fetching the text of <NODE></NODE>, there is no node text. I want <NODE></NODE> to have a node text which is an empty string. At the same time <NODE/> should have a NULL node text.
The following are the details:
OS: HP 11
Parser: Xerces DOM Parser v2.2.0
Compilation: Xerces compiled on 64 bit, with aCC
Other Compiler Opts: -AA -mt
I am a novice at C++ - Xerces programming and am using Xerces to manipulate XML Sources. Any help will be greatly appreciated.
Thanks and Regards,