cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Accessing "user agent" within XSLT
Date Fri, 23 Dec 2005 08:52:54 GMT
Le 23 déc. 05, à 08:41, Geert Josten a écrit :

> ...How to access the user agent info? I am pretty sure you can get to  
> it using the request input module. But perhaps someone can confirm?

Yes, have a look at this online sample from the Supersonic Tour:

http://cocoon.zones.apache.org/demos/release/samples/blocks/tour/ 
pipelines/dump-request?param=xyz

You should see your User-Agent value in the output.

The corresponding sitemap is visible at

http://cocoon.zones.apache.org/demos/release/samples/blocks/tour/ 
pipelines/docs/basic-pipelines.html

-Bertrand



Mime
View raw message