Displaying html comments in Symphony

Jan202007 12:22AM — John

Recently I’ve been messing with Symphony, a really great CMS, but it strips comments out of your output, so it makes “IE Only” code impossible to add. The solution? <xsl:comment> and <![CDATA[]]>, so you would do something like this…

<xsl:comment>[if IE 6]><![CDATA[<link rel="stylesheet" type="text/css" href="css/ie6.css" /><![endif]]]></xsl:comment>

Advertising

No Comments

Leave a comment


Post Info

Filed In:
Tips & Tricks

Tags:

Permalink:

Related Posts

  • No Related Post

Free iTunes Song

Apple iTunes
Advertising