Hi all, hope you have a great christmas...
I'm strugling with this problem for days now, and i'm not sure if this is
related to this list, but indulge me...
I have this in a XSLT
<xsl:template name="dmenu">
<xsl:param name="action" />
<xsl:variable name="icon">
<xsl:choose>
<xsl:when test="not(menu) or menu[display=0]">
<xsl:text>folderclosed.gif</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>folderopen.gif</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<object data="{$icon}" type="image/gif" border="0"
onclick="javascript:{$action}">+</object>
<img src="{$icon}" onclick="javascript:{$action}" />
<a class="link" href="javascript:alert('{caption}')">
<xsl:value-of select="caption" />
</a>
</xsl:template>
(the img and object are redundant, it's just tests)
I have defined my output as 'html' and everithing was working OK until this
piece of XSLT. Now, it works OK in FF but not on IE...
If i put my output as 'xml' it's the other way around, it works on IE but not on
FF.
I'm using sarissa on both browsers. I've tryed everything i can think of,
including using xsl:element and xsl:attribute...
I cross posted this on xsl-list and on sarissa site, so forgime the rudeness...
O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt
--~------------------------------------------------------------------
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>
--~--