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

TDOMDocument.DocumentElement

Gets the root element for the document.

Declaration

Source position: laz2_dom.pas line 505

public property TDOMDocument.DocumentElement : TDOMElement
  read GetDocumentElement;

Description

DocumentElement is a read-only TDOMElement property that represents the root element for the document. DocumentElement is derived using the top-level child nodes found in the document. The return value contains the first DOM Node located that contains the value ELEMENT_NODE in its NodeType property.

See also

TDOMElement

  

Implements the DOM Element interface from the DOM specification.

TDOMNode.NodeType

  

Node type for the DOM Node.

ELEMENT_NODE

  

Represents the node type for DOM Elements.


Version 3.2 Generated 2024-02-25 Home