note 22450 deleted from language.basic-syntax by nlopess
| From: | nlopess@php.net | Date: | Thu, 20 Jan 2005 10:34:13 +0000 |
| Subject: | note 22450 deleted from language.basic-syntax by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83660@lists.php.net to get a copy of this message | ||
Note Submitter: stodden at in dot tum dot de
----
if you're experiencing problems with php PIs when generating creating mixed php/html content
with e.g. an XSLT processor in html output mode:
it's not the processors fault.
an _SGML_ processing instruction is actually written as <?php ..>, i.e. without a trailing
question mark.
<xsl:processing-instruction name="php">
echo $hello;
</xsl:processing-instruction>
will therefor not not work like it should.
a sane solution to work around this is generating <script> tags instead.