Change your CDATA so it contains & instead of &


-----Original Message-----
From: bill [mailto:[EMAIL PROTECTED]]
Sent: 12 November 2001 15:51
Subject: [PHP] parsing XML data with ampersands (&)

When parsing XML data, the CDATA sometimes contains an ampersand (&).

The XML parser sends this as two events, one before the ampersand and
one after.  That yields two data sections (when there is only one).

Ideas on how to keep them together?

Is this a bug?

kind regards,

bill hollett

'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to