RAD Studio VCL Reference
|
Returns a duplicate of this node.
function cloneNode(deep: WordBool): IDOMNode; safecall;
__fastcall IDOMNode cloneNode(WordBool deep);
Use cloneNode to obtain a copy of this node. The cloneNode method returns a copy of this node that has no parent. Any attributes are copied as well, including any attribute nodes that represent default values.
deep indicates whether the child nodes of this node should be cloned as well. For example, if an element node contains any text, cloneNode only copies then text when deep is true, because the text is contained in a child node of type TEXT_NODE.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|