Re: [xsl] Problem passing parameter ASP -> XSL

Subject: Re: [xsl] Problem passing parameter ASP -> XSL
From: "Dean Fiala" <dfiala@xxxxxxxxx>
Date: Tue, 25 Jul 2006 08:39:44 -0400
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@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxx [mailto:mfreeman@xxxxxxxxxxxx]
Sent: Tuesday, 25 July 2006 9:56 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Problem passing parameter ASP -> XSL


try xslProc.addParameter ("paramVal1", paramVal1)


add the parenthesis. This may work for you.




--
Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP

Current Thread