GoLang DOMNode::cloneNode

request it (312)
GoLang replacement for PHP's DOMNode::cloneNode [edit | history]



Do you know a GoLang replacement for PHP's DOMNode::cloneNode? Write it!

PHP DOMNode::cloneNode

PHP original manual for DOMNode::cloneNode [ show | php.net ]

DOMNode::cloneNode

(PHP 5, PHP 7)

DOMNode::cloneNode Clones a node

Description

public 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.