RE: [xsl] url query works with mozilla; not IE

Subject: RE: [xsl] url query works with mozilla; not IE
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jul 2003 12:26:32 +0100

> -----Original Message-----
> From: William S. [mailto:wstan@xxxxxxxxx]
> Sent: 02 July 2003 12:19
> To: xsl-list
> Subject: [xsl] url query works with mozilla; not IE
> 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>

u might have to supply $myvar with the translate function, there maybe some nice whitespace causing the probs
and why not use shorthand with curly brackets and save on typing time, instead of explicit xsl:attribute fun?

<img src="display.php?image={translate($myvar,' '.'')}" text="foo" alt="foo"/>

note u may have to supply more replacement whitespace types for translate.

hth, jim fuller
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please contact the sender immediately. Any disclosure, copying, distribution or any other use of this communication is strictly prohibitedand may be unlawful. Stuart Lawrence Marketing Communications Limited reserves the right to monitor and intercept communications for unlawful business purposes.

This also confirms that this message has been swept for viruses, although Stuart Lawrence Marketing Communications Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or contents.

 XSL-List info and archive:

Current Thread