[xsl] How to extract HTTP Headers information using XSLT

Subject: [xsl] How to extract HTTP Headers information using XSLT
From: "Zulfikar Dholkawala" <zulfikarmd@xxxxxxxxx>
Date: Thu, 16 Aug 2007 10:31:57 +0100
Hi all,
Just wondering would it be possible to extract information from HTTP
headers (like network information) using XSLT?

Basically scenario for me is like below:
 If a user (on an EVDO device) is browsing a mobile portal in an EVDO
(fast) network, then the home page categories will be returned as a
series of buttons on a grid. If a user is browsing a mobile portal on
a slower network, then no grid and just standard list of options will
be returned.

Here, Network information will be passed either of the following ways:
1. Pass it into HTTP headers
2. Appended to URL as a additional parameter
3. Or any other means which is suitable to customer.

I am using Cocoon framework with Tomcat.

Can any one give some input/ideas or examples how it could possibly be done?

Thanks. Regards.

Zulfiqar

Current Thread