[xsl] Parameter problem

Subject: [xsl] Parameter problem
From: "Hellstern, Manny" <manny.hellstern@xxxxxxxxxxxxxx>
Date: Wed, 13 Mar 2002 10:21:41 -0600
I'm having trouble with my XSL style sheet. Here is what I am doing:

I have an XML file with the following:

	<INTROMSG>
		Please click on the <img id="imgAlert"
src="{$urlNextTabImg}" />  in order to continue.
	</INTROMSG>

>From within an ASP page I have javascript which defines urlNextTabImg to
something like:
	http://xxxx/images/myimage.gif

The from within the same script I pass in the value as a parameter to my XSL
Template:
	objXSLInitAppProc.addParameter("urlNextTabImg",urlNextTabImg);	

At the top of my XSL file I have:
	<xsl:param name="urlNextTabImg"/>

And then within my style sheet I have:
	<p id="pInstructions"><xsl:value-of select="//*/INTROMSG"
disable-output-escaping="yes" /></p>

The output simply looks like:
	Please click on the   in order to continue.

Can someone help. Thanks.


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


Current Thread