Re: [xslt] bug in xsl:processing-instruction?



Guillaume SMET writes:
> Hi,
> 
> In fact, the output should even be :
> <?php
>       echo $date;
> ?>
> It's far better not to use short open tags because you can configure php 
> to ignore them (short_open_tag off in the php.ini), especially when you 
> use XML.
> 
As far as I can see, the name is in the output.
I get
<?php 
   echo  $date;
>


The missing ? at the end of the PI is due to the xslt spec:
http://www.w3.org/TR/xslt#section-HTML-Output-Method:
...
The html output method should terminate processing instructions 
with > rather than ?>
...

HTH
	Morus



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