Re: conditional IE stylesheets in master.xsl

Philipp Stucki <[email protected]> Mon, 16 Nov 2009 08:59:18 +0100
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
list.fluxcms wrote:
> What is the correct syntax to get this comments appear in the HTML source
> code? Or do I really have to take a CDATA?

Here's an example. You will have to replace all XSL variables inside the
CDATA section with their respective values.

<xsl:comment>
<![CDATA[[if gte IE 6]>
<link rel=3D"stylesheet" type=3D"text/css" media=3D"screen"
href=3D"/themes/mytheme/css/ie.css" />
<![endif]]]>
</xsl:comment>


Philipp

-- =

Philipp Stucki
Eibenstrasse 5
8045 Z=FCrich

[email protected]
http://qwert.ch
-- =

bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms