Cascade stripping IE conditional statements on publish.

turnerjd's Avatar


31 Jan, 2011 07:57 PM

When I insert an IE conditional such as <!--[if !IE]>Not IE <![endif]--> into a format, it strips it on publish. How can I get Cascade to not touch my code. Tried <!--#START-CODE #END-CODE--> .. no go

  1. Support Staff 1 Posted by Tim on 09 Feb, 2011 07:03 PM

    Tim's Avatar

    My guess is that you are using an XSLT Format as opposed to a Velocity Format. Is that correct? If you enter <!--[if !IE]>Not IE <![endif]--> directly into an XSLT Format, the XSL processor will view this as a comment in the XSL document and will not output the comment on your rendered page. If this is the case, try something like this:

    <xsl:comment><![CDATA[[if !IE]>Not IE <![endif]]]></xsl:comment>

    This should create an HTML comment in the resulting transformation.

    I was able to do this and publish without any problems. If you continue to have problems, let me know which version of Cascade Server you are running along with what type of Format you are using.


  2. 2 Posted by turnerjd on 09 Feb, 2011 07:51 PM

    turnerjd's Avatar

    Thx Tim I'll try that out!

  3. Tim closed this discussion on 14 Apr, 2011 08:14 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM