Re: rss feeds from db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan McCullough wrote:
I'm having some problems where some undefined entity are getting in,
these entities are usually html entities.

sad thing is"¦bringing in these large chains is putting

the xml doc points to the & in ";&brvbar" as the problem.  what do I
need to do to get this stuff cleaned up?

Not quite. That first ; is part of the previous entity, """. You want to do a search/replace for "¦"

And ¦ is a perfectly valid entity. It represents a pipe character ("¦"), so it is NOT an undefined entity.

If you really don't want it there, do a search-replace for "¦" and either replace it with an alternative character (perhaps a ¦ directly), or an empty string to remove it entirely.

Regards, Adam.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux