I got it in mu event handler, so when I serialize it I got a problem, like < becomes &lt;.
Thanks, Frank -----Original Message----- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 3:13 AM To: [EMAIL PROTECTED] Subject: Re: CData section Hi, Do you mean you get the result when you serialize, or in the event in your handler? Gareth On 24 Nov 2004, at 6:56, Xiaofan Zhou wrote: > Hi All, > > > > I am using the Xerces c++ SAX parser to parse my xml file. I have a > question regarding CData section, here is the example: > > > > <cust_info> > > <![CDATA[ Customer<!1> ]]> > > </cust_info> > > > > I would expect the characters event after the <cust_info> startElement > event will give me the unchanged value Customer<!1>, however, what I > get is actually Customer<!1> , that is, the '<' and '>' is > converted to its entity reference. Is this the expected behavior? Is > there a way to "turn off" the automatic conversion? > > > > Thanks. > > Frank > > > -- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]