[xsl] url query works with mozilla; not IE

Subject: [xsl] url query works with mozilla; not IE
From: "William S." <wstan@xxxxxxxxx>
Date: Wed, 2 Jul 2003 13:19:22 +0200
I am trying to pass a url query in Internet Explorer but it
cuts off the last part.

Instead of getting:
display.php?image=999.png

I am getting:
display.php?image=

This is what I am using. It works OK in Mozilla, but
fails in Internet Explorer.

<img>
<xsl:attribute name="src">display.php?image=<xsl:value-of select="$myvar"/></xsl:attribute>
<xsl:attribute name="text">foo</xsl:attribute>
<xsl:attribute name="alt">foo</xsl:attribute>
</img>

(Note: $myvar=999.png)

If I simply do it as directly below, it works in _both_
IE and Mozilla.

<img>
<xsl:attribute name="src">display.php?image=999.png</xsl:attribute>
<xsl:attribute name="text">foo</xsl:attribute>
<xsl:attribute name="alt">foo</xsl:attribute>
</img>

How can I fix this so it works in all(most) browsers?

-- 
Bill
Amsterdam, NL

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread