Sign in Join
FPDoc Onlineexperiment

TDOMAttrDef.CloneNode function

Member of TDOMAttrDefpublicIn unit Laz2_DOM

Makes a copy of the attribute node with the specified owner document.

Declaration

pascal
function CloneNode(deep: Boolean; ACloneOwner: TDOMDocument): TDOMNode
 ; override; overload

Arguments

deepTrue if child nodes are recursively copied in the method.
ACloneOwner

Document which owns the cloned DOM node.

Function result

DOM node created in the method.

Description

CloneNode is an overloaded, overridden method in TDOMAttrDef used to make a copy of the default attribute node using the specified owner document. CloneNode calls the inherited method on entry, and ensures that the node Flags include the value nfSpecified.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.