Thanks very much for your helpful response. I have modified my code to use importNode instead of cloneNode, and all is well now. I see I need to spend a bit more time studying the DOM spec and related FAQ, since there's clearly some crucial information there that I've missed in my haste to get started!
BTW, can you recommend any good books discussing the DOM API (preferably with a bent toward the C++ environment)? My search of the web for such books hasn't turned up many possibilities yet. Thanks again, Bruce -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 12:08 PM To: [EMAIL PROTECTED] Cc: Xerces-C-Dev Subject: Re: Cloning node from one tree, inserting into a different tree > I have successfully performed a deep clone of an element of document1, after which my attempt >to insert the new node into an element of document2 causes a core dump. Probably issues described in http://www.w3.org/DOM/faq.html#ownerdoc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
