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 :-)

</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]


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

Reply via email to