[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

avoiding disable-output-escaping, how to output M$ wie

Subject: avoiding disable-output-escaping, how to output M$ wierd syntax
From: iwantto keepanon <iwanttokeepanon@xxxxxxxx>
Date: Wed, 31 Aug 2005 01:10:50 +0400 (MSD)
m wie
As I learn more XSLT, I want to correct some of my early sins.  But
how can I write the following w/o "disable-output-escaping"?

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

The rather obvious response is to include this file first
(unconditionally) and override the IE specific stuff w/ proper CSS
code that IE cannot parse (body>div, etc...).

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".  I tried a CDATA section, but the serializer escaped
the "<" and ">".

Any ideas?
-- 
Rodman

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.