[Expat-discuss] Parsing CDATA section
Bob Lee
crazybob at crazybob.org
Fri May 25 17:57:20 CEST 2007
Have you tried SetCdataSectionHandler? (
http://www.xml.com/pub/a/1999/09/expat/index.html?page=3#cdatahandler)
I haven't myself--I just assumed Expat would treat CDATA sections just like
any other XML text.
Bob
On 5/25/07, Ramprasad B <ramprasad.i82 at gmail.com> wrote:
>
> Hello expat`ers,
>
> I have stuck up with parsing the CDATA section in an XML file. I could not
> even find an example source for this.
>
> I would like to parse the following XML file, and extract `Hello World'
> string:
>
> <ABC>
> <DEF>
> <XYZ><![CDATA[Hello World !!!]]></XYZ>
> <DEF>
> </ABC>
>
> Please help me with this.
>
> Thanks in advance for your help !
>
> --
> Ramprasad B
> _______________________________________________
> Expat-discuss mailing list
> Expat-discuss at libexpat.org
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>
_______________________________________________
Expat-discuss mailing list
Expat-discuss at libexpat.org
http://mail.libexpat.org/mailman/listinfo/expat-discuss
More information about the Expat-discuss
mailing list