cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Viana <rvi...@agency.com>
Subject RE: How to implement Multiple charsets in cocoon 1.8x
Date Fri, 23 Mar 2001 10:46:37 GMT
Robin,

If it's not too much ask, could you please give me a short example of how to
create multiple formatter instances of the cocoon.properties for the
different encoding types, how to select them using <xsp:pi>

Thanks,

Roberto.

-----Original Message-----
From: Robin Green [mailto:greenrd@hotmail.com]
Sent: Thursday, March 22, 2001 5:35 PM
To: cocoon-users@xml.apache.org
Subject: Re: How to implement Multiple charsets in cocoon 1.8x

Robin Green wrote:

>At the moment you need to create 3 formatter instances in
cocoon.properties, 
>one for each language. Then select the one to use using <xsp:pi> to create
a 
>cocoon-format processing instruction. In fact you should almost never touch

>the response object directly.
>
>The idea of this separation of concerns is that Cocoon can change the way
it 
>outputs things in future (as it indeed it has recently) and user code won't

>be affected at all. Of course it doesn't always work in reality. ;)
>
>However I've just added to the todo list a request to make this easier by 
>letting you put parameters in the PI as well as in cocoon.properties.

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message