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

Re: Using IE's CC (Conditional Comments) inside an XSL

Subject: Re: Using IE's CC (Conditional Comments) inside an XSL file.
From: Nick Fitzsimons <nick@xxxxxxxxxxxxxx>
Date: Sun, 18 Jun 2006 14:51:56 +0100
internet explorer conditional xsl png
M. David Peterson wrote:
Actually, I just noticed you had this set inside of a template...

EVEN BETTER!!! Thanks! I plan to take advantage of your solution (e.g. replace mine with yours :D)


Glad you like it :-)


I used a template because I needed to insert multiple CCs at different places in my XSLT, and duplicating the admittedly rather arcane code necessary would have been a pain for my client in terms of long-term maintenance, particularly as that is carried out by another person.

FWIW, the template has been in live use (server-side) on the websites of 34 UK local radio stations for several months now and has survived things like a switch from Xalan to Saxon, so I think I'm safe in saying that it works. (A former colleague at another company has also been using it successfully.) You can see its output in several places in the source of (to pick a station at random) <http://www.radiobroadland.co.uk/> where it's used not only to import IE-specific stylesheets but also to apply the hackery needed to get PNG Alpha transparency working in IE < 7. (Yes, I know having styles in the page rather than an external stylesheet is bad form, but it's currently the only way to deal with the arbitrary image selection the CMS allows. Anyway, I'm more disgusted by the lousy JavaScript inserted by the visitor tracking and ad serving people :-)

Cheers,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/

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.