Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<DOMNode->appendChild()DOMNode->hasAttributes()>
Last updated: Tue, 19 Sep 2006

DOMNode->cloneNode()

(no version information, might be only in CVS)

DOMNode->cloneNode() --  Clones a node

Description

class DOMNode {

DOMNode cloneNode ( [bool deep] )

}

Creates a copy of the node.

Parameters

deep

Indicates whether to copy all descendant nodes. This parameter is defaulted to FALSE.

Return Values

The cloned node.




<DOMNode->appendChild()DOMNode->hasAttributes()>
Last updated: Tue, 19 Sep 2006