xsl-list
[Top] [All Lists]

Re: IE's conditional comments in xslt

2006-03-04 03:24:28
Sorry David, forgot about the system-property,  so your example would
then look like:

<xsl:if test="system-property('xsl:vendor')='Microsoft'">
         <xsl:comment><![CDATA[[if IE]><![if lt IE 7]><![endif]]]></xsl:comment>
          <script src="/scripts/ie5.js" type="text/javascript">//*
  imported via src attribute *//</script>
          <style type="text/css">
            @import "/browser/ie5/base.css";
          </style>
         <xsl:comment><![CDATA[[if IE]><![endif]><![endif]]]></xsl:comment>
</xsl:if>

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>