cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?
Date Fri, 31 Jan 2003 15:23:47 GMT
On 31.Jan.2003 -- 04:07 PM, Cyril Vidal wrote:
> Hello,
> 
> I would like to retrieve the language of the user's browser, so that I could
> call the I18n Trasnformer in the right way (by passing the locales's value
> equal to the browser's language).
> 
> To retrieve the language set up in the browser, I've used the Request
> Generator, and applied the following simple stylesheet to it:

Starting with version 2.0.4 you could try
{request-header:accept-language} for that. See input modules in
"concepts" and javadocs.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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