This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL and VBScript variable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]