Re: [PHP Template] A suggestion
| From: | Andrei Zmievski | Date: | Tue, 29 Feb 2000 14:29:39 +0000 |
| Subject: | Re: [PHP Template] A suggestion | ||
| References: | 1 2 3 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-247@lists.php.net to get a copy of this message | ||
On Mon, 28 Feb 2000, Dan Libby wrote:
> html escaping should work for XML also, so long as it uses character entities.
> For plain ascii, why would they want to escape? Anyway, the attribute should
> probably be called "htmlescape" instead of escape. Actually, more useful would be
> escape="html|xml|url", and equivalent unescape="html|xml|url". There are
> probably some other escape types that would be good too.
Yeah, that was my question, is there a difference between HTML and XML
escaping?
URL escaping might be good, but I have to ask, should it really be done
in the template or in the script?
-Andrei
* Life may be expensive, but it includes an annual free trip around the sun. *