Rafael,

You can make sure to use MSXML 4.0 by referring to it as
"MSXML2.DOMDocument.4.0" when you create an object.  Obviously, you can
replace the "DOMDocument" part with whatever functionality you are
accessing.

Matt

Matthew Drayer
Web Development Coordinator
HCPro / Opus Communications
Marblehead MA
[EMAIL PROTECTED] 

-----Original Message-----
From: Rafael O. Torres [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 10:15 AM
To: '[EMAIL PROTECTED]'
Subject: [cf-xml] Error with removechild, insertbefore and replacechild



Any time I try to use any of the following dom methods: removechild, 
insertbefore, replacechild, I get the following error in Coldfusion 4.5:

unknown exception condition
unknown error while executing a tag.

This happens whether I'm using torchbox's XML toolkit or SiteObjects' 
SO_XML tag, so I'm guessing it might be a parser issue.

As a temporary workaround for removing nodes, I'm using the CF_XMLSubset 
tag with the bremovenodes option set to "yes". Incidentally, looking at the 
tag's code, it doesn't use the removechild method to remove nodes.

I think someone else posted this error to the list before, but received no 
answer. Is there a known problem with these methods and some version of the 
msxml parser (under coldfusion)? How do I know which of the installed msxml 
parsers are the tags using? I recently installed msxml version 4.0 but have 
no idea if the tags are actually using it.

Thanks in advance for any help.

Rafael Torres


-----------------------+
cf-xml mailing list
list: [EMAIL PROTECTED]
admin: [EMAIL PROTECTED]
home: http://torchbox.com/xml

-----------------------+
cf-xml mailing list
list: [EMAIL PROTECTED]
admin: [EMAIL PROTECTED]
home: http://torchbox.com/xml

Reply via email to