xsl-list
[Top] [All Lists]

Re: [xsl] msxml and removing parameters from a cached processor

2006-03-23 12:49:21
António Mota wrote:
And then what happens? The optional default value="xxx" is assumed or
the parameter will be Empty or Null?

Neither really work as described in the docs. Using null causes a fatal error. Using an empty string causes an empty string to set as the value (I am pretty sure that is what I am seeing...)

-Rob


On 23/03/06, Nick Fitzsimons <nick(_at_)nickfitz(_dot_)co(_dot_)uk> wrote:
Hi,

Is there some way to remove parameters from a cached
'new ActiveXObject( 'Msxml2.XSLTemplate.3.0' )' XSL processor in
JavaScript?

From the MSXML documentation for addParameter:
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/9ddcd728-2646-494a-8fa4-3b68e8c032b7.asp>

"To remove a parameter previously added to the processor, provide a value
of Empty or Null instead. This acts as a signal to the processor to remove
any previously added parameter of the same name."

HTH,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--