cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Noels <stev...@outerthought.org>
Subject Re: including scripting in output files
Date Mon, 04 Nov 2002 20:16:47 GMT
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
stevenn@outerthought.org                      stevenn@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message