Subject: Re: [xsl] IE's conditional comments in xslt From: "M. David Peterson" <m.david@xxxxxxxxxx> Date: Sat, 04 Mar 2006 11:29:23 -0700 |
On 04/03/06, M. David Peterson <xmlhacker@xxxxxxxxx> wrote:I guess not. What is that you are trying to output? Or, better said, what browser are you trying to hide from? The original code you showed had a bunch of escaped entities so I didnt tear into to deeply.
You haven't fully got it yet:
<!--[if lt IE 7]> <script src="foo.js" type="text/javascript"></script> <![endif]-->
Okay. Still not sure as to what it is you are trying to hide and what you are trying to show. Maybe this will help me understand the purpose for all of this?
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!
Ahh... okay... Its been a while since I've looked at her code... need to go back and check it out again and refresh my memory what she is looking for. Possibly for MSXML2? I'll look again. Thanks for the correction!
If you are going to go theNo, she determines the version of MSXML, not the browser version.
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.
Its an interesting site implementation, thanks for the link anyway.Sure.
Manfred
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] IE's conditional comments, Manfred Staudinger | Thread | Re: [xsl] IE's conditional comments, M. David Peterson |
Re: [xsl] Select value using not(ke, andrew welch | Date | [xsl] XSLT as a programming languag, Laurent Lasudry |
Month |