[xslt] bug in xsl:processing-instruction?



Hi

When I use the following xsl statement for producing html code with 
xsltproc:

<xsl:processing-instruction name="php">
   echo  $date;
</xsl:processing-instruction>

I get the following output:

<?
     echo $date;
 >

I'm missing the '?' before the closing '>'. I fix it by putting

//?</xsl:processing-instruction>

instead of </xsl:processing-instruction>, but I wonder if this is not a 
bug of xsltproc. Does anybody know why it behaves in such a way?

Regards.

-- 
Pierre François (http://www.romanliturgy.org)
Roemer Visscherstraat 46
NL-1054 EZ Amsterdam (Netherlands)
+ 31 20 616 58 46




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]