At 06:13 PM 4/2/2006 +0200, Reuven Nisser wrote:

Hi Gareth,

If it ends with reference counting I can live with that. My problem is with an element extracted from one document and added to another document. The whole sub-tree starting from the element is actually moved to another document. This means updating the reference counting for the source and target document and it seems very time consuming.

Hi Reuven,
when you need to move nodes from a document to another you need to call importNode (that actually clones them using the memory from the destination document) and removeNode.

BTW, Xerces-C++ has a wrapper (XMLCOM) that exposes a COM interface similar to MSXML2; have you looked at it?

Alberto


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to