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

Re: Problem passing parameter ASP -> XSL

Subject: Re: Problem passing parameter ASP -> XSL
From: "Dean Fiala" <dfiala@xxxxxxxxx>
Date: Tue, 25 Jul 2006 08:39:44 -0400
dean fiala
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)


-----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:  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...
Microsoft MVP

Current Thread


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.
First Name
Last Name
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.