Re: Well-established uses of processing instructions?
Vladimir Gapeyev wrote: > 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? No. As long as the PIs have identifiers and appear in well-formed documents, they're no more hacks than any others. > 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!), You're right. But other processors of PHP documents may. > and <?...?>-peppered text is not intended for processing by > anything but a PHP engine (and, well, those editors). A PI intended for only one application is still a PI. Bob Foster
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format