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

Re: IE's conditional comments in xslt

Subject: Re: IE's conditional comments in xslt
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Sat, 4 Mar 2006 07:54:07 -0800
internet explorer 7 xslt
On 04/03/06, M. David Peterson <xmlhacker@xxxxxxxxx> wrote:
> Yeah, I do understand why you have implemented this, but it seems to
> me you are not gaining anything by using if conditional.
You haven't fully got it yet: if I omit the test on the system-property, then
all non-ie browsers and all IE versions except IE 7 will see the content.

>  None of the other browsers see the IE specific conditional in the first
place,
This is true only for downlevel-hidden CC's, but you have to see that
the only thing I hide from other browsers is that one downlevel-revealed CC.
For example, the content between these two lines
<xsl:comment><![CDATA[[if IE]><![if IE 7]><![endif]]]></xsl:comment>
and
<xsl:comment><![CDATA[[if IE]><![endif]><![endif]]]></xsl:comment>
is perfectly visible for all non-IE browsers plus IE 7!

> If you are going to go the
> system-property route then visit http://www.jenitennison.com/ , click
> the index.xml link in the upper left hand corner, and view the source
> to locate the URI to the stylesheet, you can then access this
> styelsheet and see how she has elequently used the extended system
> property info made available as part of the MSXML processor to
> determined browser version.
No, she determines the version of MSXML, not the browser version.
Its an interesting site implementation, thanks for the link anyway.

Manfred

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.