Steven Noels wrote:

J.Pietschmann wrote:

Rodent of Unusual Size wrote:

suppose i want the following to appear verbatim in the
output .html file:

       <?php phpinfo(); ?>

how do i represent this in the xml?


&lt;?php phpinfo(); ?&gt;



nope, sorry; the brokets remain encoded and therefore do not
trigger the php parsing.


Use <?php phpinfo(); ?> and add a template to the XSLT
which copies PI through (should be already there...)
If this doesn't work with Cocoon, complain on the Cocoon
list, LOUDLY.

Template is there, PI-template there, but apparently the HTMLSerializer happily chops the second question mark away from the output:

<?php phpinfo() >
^^

Let's complain loudly :-)

... to Xalan guys! :)


All Cocoon serializers extended from AbstractTextSerializer are barely wrappers around identity transformer. And Xalan's identity transformer is known to have issues.


PS: Has anybody tried Saxon?

Vadim


</Steven>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to