xsl-list
[Top] [All Lists]

url query works with mozilla; not IE

2003-07-02 04:19:22
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