|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using <xsl:param> with vbscript variable
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








