It seems like this function is non-recursive: cloning a node will not clone it's child nodes in my experience
![]() | DomNode->clone_node![]()
krymsonwulf at gmail dot com
06-Jun-2006 05:41
It seems like this function is non-recursive: cloning a node will not clone it's child nodes in my experience
andrew at transitionmedia dot co dot uk
12-Feb-2006 11:04
As of version 4.3 PHP doesn't support Appending a child from another source document. If you are trying to import information from multiple sources into a final document [for transformation using XSL as an example] then you can have problems. This technique can be used to do it though.
hrz at geodata dot soton dot ac dot uk
11-May-2005 11:28
Passing boolean 'true' as the argument to this function will result in all child nodes being cloned as well.
r dot kamstra at syntomax dot com
09-Nov-2002 12:06
if a DomNode is duplicated it's siblings and parent are not duplicated
| ![]() |