Subject: Re: [xsl] url query works with mozilla; not IE From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Wed, 02 Jul 2003 13:21:22 +0100 |
From: "William S." <wstan@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] url query works with mozilla; not IE 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
Couldbe due to whitespace. Why not try: <img text="foo" alt="foo" src="display.php?image={$myvar}"></img>
_________________________________________________________________ On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] url query works with mozi, David Carlisle | Thread | RE: [xsl] url query works with mozi, Jim Fuller |
RE: [xsl] Which one's faster, McCollum , Angus | Date | RE: [xsl] Namespaces II, Andrew Welch |
Month |