[xsl] XSL and VBScript variable

Subject: [xsl] XSL and VBScript variable
From: Howard Lim <Howard.Lim@xxxxxxxxxxxx>
Date: Thu, 7 Jun 2001 11:03:59 -0500
How to use a VBScript's variable together with XSL file? I have the
following:

(1) XML file:
<Name>XYZ</Name>
<File>XYZ.asp</File>

(2) ASP pages, each pages have a variable, "path" and the variable is
different for each ASP page
A.ASP file:
<%path = "c:\mydirC"%>
	"	
	"
load xml, xsl and transformNode

B.ASP file:
<%path = "d:\mydirD"%>
	"	
	"
load xml, xsl and transformNode

(3) XSL file:
<a>
    <xsl:attribute name="href"><%=path%><xsl:value-of
select="File"/></xsl:attribute>
</a>
How can i use the VBScript variable, "path" in the XSL file?



Howard


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


Current Thread