Hi,
        why do you want to import the whole document into a newly created 
document? Is it not OK to just clone the whole thing? If it is not then 
you could manually insert the nodes into the newly created document by 
first importing the root element and then inserting the children before 
it.

Gareth

On Thu, 24 Oct 2002, Zdenek Nemec wrote:

> thanks for your time but if i do this i see no way how to import the node to
> the new doc created by
> DOMImplementation::getImplementation()->createDocument since the
> DOMDocument::importNode() doesn't support importing a DOMDocument
> 
> zdenek
> 
> > Hi,
> >     have you tried the cloneNode method on DOMNode? This will clone
> > the comment above the root node if you pass in the document node.
> >
> >
> > Gareth
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
Gareth Reakes, Head of Product Development  
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



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

Reply via email to