Subject: Re: [xsl] IE's conditional comments in xslt From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx> Date: Sat, 4 Mar 2006 07:54:07 -0800 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] IE's conditional comments, M. David Peterson | Thread | Re: [xsl] IE's conditional comments, M. David Peterson |
Re: [xsl] IE's conditional comments, M. David Peterson | Date | Re: [xsl] Select value using keys, geoff hopkins |
Month |