ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error
|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL AddParameter
----- Original Message -----
From: "Bret" <laker_66@xxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, February 27, 2004 11:18 PM
Subject: XSL AddParameter
> Hi All,
> I was trying to pass a parameter to XSL from
> ASP Page using Javascript like the one beolw
>
> XSLProc.addParameter("CITY",Request.Form('CITY'));
>
> I get the following error .
> msxml3.dll (0x80070057) The parameter is incorrect .
>
> But if do send a static hard coded value it works
> fine something like below .
>
> XSLProc.addParameter("CITY","BOSTON");
>
> Also if i try to pass a number it works fine after i
> use parseInt function in Javascript like the one below
> .
>
Probably because Request.Form("CITY") does not return a string, IIRC it
returns an object that implements IStringList. You can convert to a string
with:
Request.Form("CITY") + ""
OR try
Request.Form("CITY").Item()
--
Joe
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








