Reply to Re: <?= "Help" ?>

Your name:

Reply:


Posted by Andy Hassall on 08/11/05 01:40

On 10 Aug 2005 15:04:38 -0700, "Will Woodhull" <will@thornhenge.org> wrote:

>Andy Hassall wrote:
>> You wouldn't run PHP source through an XML validator in the first place.
>
>I haven't done anything with PHP and XML as yet.
>
>It is easier to validate a complex XHTML template with embedded PHP as
>a .html page-- so there are times when it makes sense to run PHP source
>through a validator. I expect that when I start working with AJAX kinds
>of things, passing PHP source through the XML validator will be pretty
>common.

Hm, I still don't see why you'd pass the SOURCE through an XML validator. You
pass the OUTPUT through a validator; sure.

Surely you're not going to get very far trying to write XML-validated PHP
source code; kinda rules out using "&&" ... unless you start jumping through
hoops with CDATA or something. Then again I don't know enough about how an XML
validator would react to the contents of a <?php ?> processing instruction.

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация