[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

msxml and removing parameters from a cached processor

Subject: msxml and removing parameters from a cached processor
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 23 Mar 2006 10:31:19 -0500
msxml2 parameters
Hi,

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

I see there is a reset method on the processor object, but the docs say that the method resets it to the state prior to the transform. But the params were set prior to the transform and in fact the rest method does not remove them.

I currently send a param array to a transformation function. I loop through it to add params -> then transform -> then loop through to set all the params to an empty string. This is not good mainly because there might be default parameter values in the XSL. I could walk the XSL's DOM to find the default param values, but it seems like overkill and thought I would ask if I am missing something.

Thanks,
-Rob

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.