IE7-only stylesheet for XSL document

Viewed 1078

How do I add an IE7-and-lower-only stylesheet to an XSL page? I tried adding it into the template for header information like so:

<xsl:template name="header">
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="/rcm/verisign/style/2012/ie7.css"/>
<![endif]-->
</xsl:template>

And the conditional never gets executed in my document, even though I use the same snippet in HTML-only documents and it works fine. What gives?

3 Answers
Related