Add a conditional comment with XSL
Published 2 years, 7 months ago in Browsers, CSS, Conditional Comment, HTML Elements, Quick Tips and XSL Digg ThisThis is probably one of those posts that I’ll use a million times and everyone else will say… that’s nice. Here’s how you create a conditional comment for IE6 with xsl. you need to use an xsl:comment and a cdata and don’t add any extra spacing.
-
<xsl:comment><![CDATA[[if lte IE 6]>
-
IE6 only element, such as an image or css file
-
<![endif]]]></xsl:comment>

Hey, methinks you need to escape more of the code in this post.