Jump to content

PHP XSLT - Ignore undefined entity references


Joyce

Recommended Posts

Hello All,

 

I recently decided to try out PHP XSLT. After 5 days of hardwork,  i finally migrated one of my sites to XSLT. But the problem is that the site has several user submitted content and the improper use of the & sign is causing undefined entity warning in several sections of the site. Is it possible to ignore undefined entity references and print them as is? It is not possible for me to use htmlentities function every where, because I have no idea on which all places this problem is appearing.

 

Hope someone will have a solution to this problem. I have been trying to solve this for the last two days.

 

Thanks in advance :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.