[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Makes a copy of child nodes in the specified DOM node.
Source position: laz2_dom.pas line 322
protected procedure TDOMNode_WithChildren.CloneChildren( |
ACopy: TDOMNode; |
ACloneOwner: TDOMDocument |
); |
ACopy |
|
DOM Node which receives the cloned child nodes. |
ACloneOwner |
|
DOM Document used to create the cloned child nodes. |
CloneChildren is a method used to clone child nodes from the current class instance to DOM node specified in ACopy.
CloneChildren visits each of the child nodes, starting at FirstChild and continuing to the value in the NextSibling property for the child node. The CloneNode method for each child node is called make a new copy (including its children) that is owned by the document in ACloneOwner. The cloned node is added to ACopy using the InternalAppend method.
No actions are performed in the method when the FirstChild property has not been assigned in the class instance.
|
Performs actions needed to append the specified node to the ChildNodes. |
|
|
Gets the first child node for the current node. |
|
|
Gets the last child node for the current node. |
|
|
Next DOM Node at the same level in the DOM tree. |
|
|
Makes a copy of the DOM node. |
|
|
Implements the DOM Document interface. |
Version 3.2 | Generated 2024-02-25 | Home |