[xsl] XSL AddParameter

Subject: [xsl] XSL AddParameter
From: Bret <laker_66@xxxxxxxxx>
Date: Fri, 27 Feb 2004 15:18:43 -0800 (PST)
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
.

XSLProc.addParameter("EMP_NUM",parseInt(Request.Form('EMP_NUM')));

Is there any other way to add string parameters to XSL
from an asp page other than
addparameter funtion  or is there is fix to this
simple issue .

Thanks !!!!!!!

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread