[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Problem with images / output method
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 ja esta livre de vmrus com a Panda Software, fique vocj tambim! Clique em: http://antivirus.sapo.pt
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|