----- Original Message -----
From: "Emmanouil Batsis" <Emmanouil(_dot_)Batsis(_at_)eurodyn(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Cc: "Emmanouil Batsis" <manos_lists(_at_)geekologue(_dot_)com>
Sent: Friday, March 24, 2006 1:50 PM
Subject: Re: [xsl] msxml and removing parameters from a cached processor
Robert Koberg wrote:
Are you using xsl:params with default values or sometimes not passing
params? In other words, if you do a transform with a cached processor
where the first time you pass param 'foo=bar' and then in the next
transform you do not send the param 'foo' you will still get the param
'foo=bar'. Maybe I am just missing how Manos does it?
Actually the MS API does not offer anything out of the box to reset
parameter values to their default; the reset method brings back the
transformer to the state prior to the last transformation, but that does
not mean it resets the params to their defaults (well, AFAIK).
Sarissa implements Mozilla's XSLTProcessor for IE but that impl does not
include the clearParameters method (which switches the params to the
defaults). The mechanism is mostly there so i guess i'll have to fix for
the next release ;-)
Manos
--~------------------------------------------------------------------
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>
--~--
How would that work?
Would you have to store the defaults (in a hashtable for example) when the
setParameter was called?
--
Joe
--~------------------------------------------------------------------
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>
--~--