DOMNode->cloneNode

(no version information, might be only in CVS)

DOMNode->cloneNode --  Clones a node

Description

DOMNode DOMNode->cloneNode ( [bool deep])

Creates a copy of the node. The parameter deep indicates whether to copy all descendant nodes. This parameter is defaulted to FALSE.