Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
| Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 27th, 2006, 10:30 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSXML Object Reuse

I am doing a number of XSLT transforms inside a class in some legacy code (ASP/VBScript). For each one, I'm doing the following:

Set oXSL = CreateObject("MSXML2.FreeThreadedDOMDocument.4.0")

because if I don't re-initialize the object each time, I get an error of "msxml4.dll (0x80070005) Attempt to modify a read-only node" as soon as I try to work with the oXSL object. I've seen reference to a reset() method in some JavaScript examples, but it does not appear to work for amy XSL object. Is there another method or approach that would re-init the object without forcing the server to recreate it?

I have a similar issue with the template processor; is there a reset for that?



Similar Threads
Thread Thread Starter Forum Replies Last Post
MSXML Object Required Error??? kevorkian Classic ASP Basics 1 January 5th, 2007 12:43 PM
How to reuse my application ankur_bhargava2000 VB How-To 1 October 17th, 2005 12:49 PM
Reuse in ASP. rupen Classic ASP Basics 3 June 29th, 2005 10:12 AM
Reuse the recordset object eapsokha Classic ASP Professional 4 February 27th, 2004 12:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.