[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: url query works with mozilla; not IE

Subject: Re: url query works with mozilla; not IE
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Wed, 02 Jul 2003 13:21:22 +0100
internet explorer mozi
From: "William S." <wstan@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Subject:  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>

--

Joe

_________________________________________________________________
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.