cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lautaro Brasseur" <lbrass...@nuevobancobisel.com.ar>
Subject Re: Transformer
Date Mon, 02 Dec 2002 14:28:24 GMT
First I think in merge all XSLs into one single. But they are about 1150,
and I think that would be very heavy for the server.

I solved the problem by using a session attribute. I put the transaction
name (the value that determines the XSL to use) in the session (in the setup
method of the generator) and take it in the setup method of the transformer.
It isn't elgant, but it works.

Thanks

Lautaro


----- Original Message -----
From: "Joerg Heinicke" <joerg.heinicke@gmx.de>
To: <cocoon-users@xml.apache.org>
Sent: Sunday, December 01, 2002 6:57 PM
Subject: Re: Transformer


> Does this mean, that you want to select another XSL file used for
> transformation depending on the input document? Why don't you use an
> XSL, which includes the other XSL files and so the different matching
> templates? Or use modes in the stylesheets like J. Pietschmann provided
> at
> http://www.mail-archive.com/cocoon-users@xml.apache.org/msg21224.html.
> Otherwise you must use an action, which chooses the
> correct transformer.
>
> Joerg
>
> lbrasseur@Argentina.com wrote:
>  > I want to change the XSL file of a transformer according a element of
the
>  > input XML. There is any way to do this?
>  >
>  > Thanks
>  >
>  > Lautaro
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
> --
> www.Argentina.com
> E-mail Profesional y Acceso a Internet UltraVeloz totalmente GRATIS en
> Buenos Aires, Rosario, Cordoba, Mendoza, Mar del Plata, Moreno, Merlo,
> La Plata, Pilar, Escobar, Campana y Zárate
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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