[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMAttrDef.CloneNode

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

Declaration

Source position: laz2_dom.pas line 815

public function TDOMAttrDef.CloneNode(

  deep: Boolean;

  ACloneOwner: TDOMDocument

):TDOMNode; override; overload;

Arguments

deep

  

True 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

TDOMAttr.CloneNode

  

Creates a copy of the DOM Attribute.

TDOMAttr.Specified

  

Indicates if the value for DOM Attribute was explicitly assigned.

TDOMNode.Flags

  

Provides access to the Node Flags for the DOM Node.

TNodeFlagEnum

  

Enumeration with flag values for DOM Nodes.


Version 4.0 Generated 2025-05-03 Home