Subject:Detect Browser Version in XSL Author:Steve Singer Date:03 Aug 2009 02:21 PM
Hi --
I'm looking to detect whether or not a user is using IE8 or IE7. Turns out that the browser renders things slightly different, and things that line up in IE7 don't in IE8 and vice-versa. It's relatively easy in Javascript, but I can't seem to figure out how to do it when generating HTML from XML using XSLT. It's no problem to determine that it's a Microsoft vendor (using the xsl:vendor system property) but I can't seem to get the actual version.