[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] parsing a variable from a ASP page to XSL file


Subject: [xsl] parsing a variable from a ASP page to XSL file
From: Howard Lim <Howard.Lim@xxxxxxxxxxxx>
Date: Thu, 7 Jun 2001 16:11:20 -0500

I  am having some problem in parsing a variable from a ASP page to XSL file.

this is the ASP page:
	doc.load(xmlsource)
	stylesheet.load(xslsource)
	oParam=SelectSingleNode("//xsl:param[@name='param1']")
	oparam.text="hello"
	Response.Write(doc.transformNode(stylesheet))

i have the following code in my XSL file to get the variable parse from ASP
page.
	<xsl:value-of select="item[$param1]"/>

Is this the right way to parse a variable to XSL file???

Please help, thank you guys.

Howard




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



Current Thread
Keywords
xsl