Subject: Re: [xsl] generating IE conditional comments, in IE From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Sat, 3 Jul 2010 10:19:05 +0100 |
Joe http://joe.fawcett.name/
-------------------------------------------------- From: "Eric J. Bowman" <eric@xxxxxxxxxxxxxxxx> Sent: Saturday, July 03, 2010 10:13 AM To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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[ ... ]]><![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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] generating IE conditional, Eric J. Bowman | Thread | Re: [xsl] generating IE conditional, David Carlisle |
Re: [xsl] generating IE conditional, Eric J. Bowman | Date | [xsl] XSL-List Guidelines, Mulberry Technologie |
Month |