This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XSL and VBScript variable
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] XSL and VBScript variable
- From: Howard Lim <Howard dot Lim at US dot NET56 dot net>
- Date: Thu, 7 Jun 2001 11:03:59 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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