CloneNode - cXMLDOMDocument

Creates a clone of the passed node

Type: Function

Return Data Type: Handle

Parameters: integer bRecurse

bRecurseIf True, copy child nodes

Return Value

If successful, the method will return an object handle to the newly created cloned node. If a zero is returned, the operation failed.

Function CloneNode integer bRecurse Returns Handle

Call: Get CloneNode bRecurse to HandleVariable


CloneNode creates a clone of the passed node. If bRecurse is true, the node and all its descendents will be cloned (a deep clone), if bRecurse if false, only the node will be cloned (a shallow clone).