Re: [PHP-XML-DEV] Troubles with importing a node from another DOMDocument

[email protected] ("Stanislav Sazonov") Thu, 17 Jul 2008 16:54:19 +0400
Newsgroups php.xml.dev
Message-ID <[email protected]>
I think it is conceptually wrong. If i wanna clone a node with its owner i
would use cloneNode() method. Operator clone() should make _independent_
objects instead, thus should behave like importNode().

>
> using the clone keyword is the same as using the cloneNode() method
> doing a deep copy on the node in question.
>
> Rob