X-Z > XML.cloneNode

XML.cloneNode

Syntax

myXML.cloneNode(deep);

Arguments

deep Boolean value specifying whether the children of the specified XML object are recursively cloned.

Description

Method; constructs and returns a new XML node of the same type, name, value, and attributes as the specified XML object. If deep is set to true, all child nodes are recursively cloned, resulting in an exact copy of the original object's document tree.

Player

Flash 5 or later.