[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: IE's conditional comments in 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|