xsl-list
[Top] [All Lists]

Re: avoiding disable-output-escaping, how to output M$ wierd syntax

2005-08-30 14:48:03
Baby steps, I dont want to break my entire website just yet!  Since
this conditional "comment" is not proper XML, I don't think I can code
this "in the buf". 

Ummm, since this comment is a "comment" you can certainly code it like
any other comment.  (If that makes any sense)

Even though it makes me quesy, it should be possible to write this
just as a comment.


   <xsl:text disable-output-escaping="yes">&lt;!--[if IE]&gt;</xsl:text>
   <link rel="stylesheet" type="text/css" 
href="/~rodney/times/css/ieonly.css" media="screen" />
   <xsl:text disable-output-escaping="yes">&lt;![endif]--&gt;</xsl:text>


as the comment that it really desires to be should just be:

 <xsl:comment>[if IE]&gt;&lt;link rel="stylesheet" type="text/css"
href="/~rodney/times/css/ieonly.css" media="screen"
/&gt;&lt;![endif]</xsl:comment>


Jon Gorman

--~------------------------------------------------------------------
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>
--~--