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

Parameter problem

Subject: Parameter problem
From: "Hellstern, Manny" <manny.hellstern@xxxxxxxxxxxxxx>
Date: Wed, 13 Mar 2002 10:21:41 -0600
 Parameter problem
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

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.