xsl-list
[Top] [All Lists]

Re: IE's conditional comments in xslt

2006-03-04 08:54:07
On 04/03/06, M. David Peterson <xmlhacker(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>