cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: including scripting in output files
Date Mon, 04 Nov 2002 20:35:17 GMT
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message