Actualy Jeremias I think you meant:

<xsl:param name="image" select="'parameter not set'"/>

  (*Chris*)


Original Message -----------------------
Ah, then add the following near the top of your stylesheet (before the
first "xsl:template"):

<xsl:variable name="image" select="'parameter not set'"/>


On 09.04.2004 18:04:34 Jerry wrote:
> Jeremias,
>
> This time, I got this error:
>
> Error 500:
> javax.xml.transform.TransformerConfigurationException:
> javax.xml.transform.TransformerException:
> org.apache.xml.utils.WrappedRuntimeException: Could
> not find variable with the name of image
>
> I replaced src="url('[EMAIL PROTECTED]')" with
> src="url('{$image}')".
>
> I set the parameter using this:
>
> String GetByteStreamServletURL="http://"; +
> req.getServerName() + ":" + req.getServerPort() +
> "/MaxTradDownload" + "/GetByteStream?" +
> req.getQueryString();
>
> transformer.setParameter("image",
> GetByteStreamServletURL);


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to