Re: Parsing CDATA section

"Bob Lee" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
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 <[email protected]> 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
> [email protected]
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.