Home »
Public Forums »
archive »
Re: Moving XML elements between documents with IDL
Re: Moving XML elements between documents with IDL [message #52064] |
Tue, 02 January 2007 08:12 |
Karl Schultz
Messages: 341 Registered: October 1999
|
Senior Member |
|
|
On Fri, 29 Dec 2006 13:21:56 -0800, Eric Winter wrote:
> Hi folks. I am trying to figure out the proper way to move an element
> from one document to another in IDL. More precisely, I want to move a
> IDLffXMLDOMElement object from one IDLffXMLDOMDocument object to
> another IDLffXMLDOMDocument object. I can't seem to figure out a way to
> correctly alter the owner document for the elements in question. I'm
> sure there is a way to do it, since I've been able to do it in every
> other language I've used for XML processing. Does anyone out there have
> an idea how to do this in IDL?
>
> TIA,
> Eric Winter
IDL uses Xerces to implement the IDLffXMLDOM* classes and unfortunately
does not expose every Xerces feature. What you need is the
DOMDocument::ImportNode method, which is not currently exposed by
IDLffXMLDOMDocument.
Karl
|
|
|
Current Time: Wed Oct 08 16:00:35 PDT 2025
Total time taken to generate the page: 0.00545 seconds