The parameters should belong to the Stylsesheet, not the template.
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="paramVal1" select="'default 1'"/>
<xsl:param name="paramVal2" />
<xsl:template match="/">
On 7/25/06, Garry Searle <garry(_at_)justimagine(_dot_)com(_dot_)au> wrote:
Thanks, but no ... I get this message.
Microsoft VBScript compilation error '800a0414'
Cannot use parentheses when calling a Sub
showStage.asp, line 21
xslProc.addParameter ("paramVal1", paramVal1)
---------------------------------------------^
Garry
-----Original Message-----
From: mfreeman(_at_)comptrex(_dot_)com [mailto:mfreeman(_at_)comptrex(_dot_)com]
Sent: Tuesday, 25 July 2006 9:56 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com;
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Problem passing parameter ASP -> XSL
try xslProc.addParameter ("paramVal1", paramVal1)
add the parenthesis. This may work for you.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--
Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--