xsl-list
[Top] [All Lists]

[xsl] [XSL] XSL Browser Integration

2007-09-13 13:01:24
Is there a normalised way, on a browser environment (eq. XSLT1.0) to access with XSL code: - the full "current" URI (ex. : http://www.myserver.com/mydir/foo.xml?x=12&y=15 the most interesting part being obviously the option string, here: x=12&y=15) - users preferences such as : preferred languages (or the http header accept_language string, for internationalisation purpose)
- navigation items such as : referrer, history (tainted)
- computer environment : screen resolution, colour width, OS, browser, initial canvas size, etc...

Part of that might be accessible on Mozilla based browsers through calls like document("about:config") because it is XUL and so working with XML behind the scene. But that will not be a portable method and doesn't answer to all of the basic integration needs.

As of XSLT1.0, there are 3 normalised system data informations available through system_property() call :
- xsl:version
- xsl:vendor
- xsl:vendor-uri
that could allow browser-guessing, but does not either meet the basics integration needs.

Many thanks in advance.

Alain BENEDETTI




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