xsl-list
[Top] [All Lists]

Re: [xsl] generating IE conditional comments, in IE

2010-07-03 04:19:26
Eric

I'm sure there was a long thread about this about two years ago. Maybe worth a search. If I recalll david Carlisle had a few things to say on the subject, as he often does :)


Joe
http://joe.fawcett.name/

--------------------------------------------------
From: "Eric J. Bowman" <eric(_at_)bisonsystems(_dot_)net>
Sent: Saturday, July 03, 2010 10:13 AM
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: Re: [xsl] generating IE conditional comments, in IE

Nevermind... sorted.  Each if-endif needs to have its own xsl:comment,
instead of stuffing everything in one xsl:comment.  The following syntax
works nicely:

<xsl:comment>[if IE]<![CDATA[ ... ]]>&lt;![endif]</xsl:comment>

Using CDATA depends on the content, it isn't required.  But, if it is
used, it needs to be inside the if-endif.

-Eric

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--