OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Well-established uses of processing instructions?

[ Lists Home | Date Index | Thread Index ]

On Sun, 8 May 2005, Bill Humphries wrote:

> Wouldn't <?php ... ?> be the most widely deployed?
Would it be fair to say that this one is a neat hack rather than a "true"
use of PI?  For a PHP processor, <?...?> would be as good as any other
quoting delimiter, e.g. <%...%>, but the former makes it possible to use
PHP-ignorant XML editors to write PHP scripts.  The PHP processor itself
does not care whether text outside <?...?> is XML (correct me if this is
wrong!), and <?...?>-peppered text is not intended for processing by
anything but a PHP engine (and, well, those editors).



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS