Subject: Re: [xsl] XSLT in MSXML - removeParameter? From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 25 Mar 2009 15:42:56 +0100 |
Now, this looked promising, until I tried it: myProc.addParameter("myParam", null); This threw a "Type mismatch" error in IE. The same happened when I tried myProc.addParameter("myParam"), myProc.addParameter("myParam", undefined) and myProc.addParameter("myParam", null, ""). I tried myProc.addParameter("myParam"), but it threw a "Wrong number of arguments or invalid property assignment" error instead. If I try to remove the parameter with myProc.addParameter("myParam", ""), then it overwrites the default value in my stylesheet, like <xsl:param name="myParam" select="'defaultVal'" />.
Has anyone come across this issue before, and how did you deal with it? Is there really a good, supported, CORRECT way to do this within IXSLProcessor?
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT in MSXML - removeParamet, Scott Trenda | Thread | RE: [xsl] XSLT in MSXML - removePar, Scott Trenda |
Re: [xsl] sorting based on variable, Michael Ludwig | Date | Re: [xsl] sorting based on variable, David Carlisle |
Month |