← Prev in month ← Prev in thread

PHP processing instructions

From
Peter Lavin <>
Date
2016-06-18T17:05:33+00:00
ID
CALSHAaH37G9Bo1P-H_6aJiace=WLFO4PfG=
Thread
PHP processing instructions
Hi,

I'm using the 1.79.1 onechunk.xsl transformation style sheets with PHP
processing instructions. If I use the HTML onechunk.xsl file in my
customization level, a "?" is required immediately before the closing
processing instruction tag. For example:

<xsl:processing-instruction name="php">
//PHP code here
?</xsl:processing-instruction>

This produces the correct opening and closing PHP tags. (<?php ... ?>)

If I use the _XHTML_ onechunk.xsl file and a terminating "?" the
output is as follows:

<?php
//PHP code
??>

Note the duplicate "?". Is this expected?

Thanks.

-- 

Peter Lavin
Telephone:      1 416 461 4991
Mobile:            1 416 882 9194
Skype:             peter.lavin
(GMT -05:00 Canada/US Eastern)
← Prev in month ← Prev in thread