xsl-list
[Top] [All Lists]

Re: [xsl] How to extract HTTP Headers information using XSLT

2007-08-16 06:41:34
i am not aware of, EVDO device. but XSLT cannot access HTTP header
information. For it to be able to access HTTP headers, it must have
some facility like a HTTP browser, or it should have something like
java.net library in the JDK.

i am not sure. but you can use an extension support in XSLT to access
such information.

On 8/16/07, Zulfikar Dholkawala <zulfikarmd(_at_)gmail(_dot_)com> wrote:
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


-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>