Sign in Join
FPDoc Onlineexperiment

TDOMDocument.DocumentElement property

Member of TDOMDocumentpublicIn unit Laz2_DOM

Gets the root element for the document.

Declaration

pascal
property 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

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