On Thu, 2010-03-18 at 17:57 +0100, Jan G.B. wrote:

> Sure - XML is often used and served. But in general, a web server only
> parses PHP-Files (ie. .+\.php\d?) unless you configure your server to
> parse any file or .xml files. So the XML <? is not a problem at all
> for the interpreter.

I wasn't meaning that xml files would be parsed as PHP, but that PHP
would be used to output XML. I'd rather have short tags turned off than
remember each time that I have to keep breaking up the < and ?php before
I output it in-case the parser gets confused.

Templating is great, but it's not for all projects.


Reply via email to