This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Parameter problem
- From: "Hellstern, Manny" <manny dot hellstern at mustangeng dot com>
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 13 Mar 2002 10:21:41 -0600
- Subject: [xsl] Parameter problem
- Reply-to: xsl-list at lists dot mulberrytech dot com
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