xsl-list
[Top] [All Lists]

RE: [xsl] RE: Accessing Browser Header from within XSL

2007-05-16 06:29:44
Is there a way to access the browser header (Accept-Language) 
variables from within an XSL template? I have been searching 
the Web and Mailing list for these answer and haven't found anything.

Not directly. Somewhere there will be an application that's invoked by the
web server and that in turn invokes the XSLT transformation. That
application has access to the HTTP headers and can extract information and
supply it to the stylesheet in the form of parameters.

Michael Kay
http://www.saxonica.com/


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