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

Re: using <xsl:param> with vbscript variable

Subject: Re: using <xsl:param> with vbscript variable
From: Nicholas Pearse <ngnpearse@xxxxxxxxxxx>
Date: Thu, 7 Jun 2001 15:46:11 +0100 (BST)
vbscript param
Pass the param value as a node in the source tree.
Extract it in the XSL
xmlis
<root>
<myval>26</myval>
</root>

xslis
<xsl:param name='myvariable'><xsl:select
value-of="//myval"/></xsl:param>

then use as $myvariable which will be replaced with 26
can't rememeber if you need to use {} or not or the $
or not, have a go anyhowslike
i fink so!


--- Howard Lim <Howard.Lim@xxxxxxxxxxxx> wrote: > how
to pass vbscript variable as a param using
> <xsl:param> to XSL file ???
> 
> Is this the right way???
> i have the following code in my asp code that call
> the XML and XSL file and
> display them:
> <%path="c:\mydir\"%>
> <xsl:param name = "path" select = "<%=path%>" />
> 
> and, i have the following in my XSL file:
> <xsl:value-of select="item[$path]"/>
> 
> can somebody please help me to use <xsl:param>
> correctly. Thank you.
> 
> Howard 
> howard.lim@xxxxxxxxxxxx
> 
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


=====


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

 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.