Re: [PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread ceo
> I came across a similar problem using an AJAX thing, with MSWord > characters in the text. The way round the problem was to enclose > everything inside CDATA blocks, which made the browsers happy to > receive as the entities only had to be understood by the HTML browser > now, not the XML pa

RE: [PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread Boyd, Todd M.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 11:28 AM > To: php-general@lists.php.net > Subject: Re: [PHP] HTMLEntities as NUMERIC for XML > > > > I came across a similar problem using

[PHP] HTMLEntities as NUMERIC for XML

2008-11-25 Thread ceo
After reading this: http://validator.w3.org/feed/docs/error/UndefinedNamedEntity.html (all praise W3.org!) I am searching for a PHP library function that will convert all my &abc; into { I have a zillion of these things from converting stupid MS Word characters into something that will,