Sign in Join
FPDoc Onlineexperiment

TDOMDocument.GetDocType function

Member of TDOMDocumentprotectedIn unit Laz2_DOM

Gets the value for the DocType property.

Declaration

pascal
function GetDocType: TDOMDocumentType

Function result

Value for the DocType property.

Description

The return value is the first child node in the document which has DOCUMENT_TYPE_NODE in its NodeType property. Starts at FirstChild and continues to NextSibling until a match is found. The node is cast to the TDOMDocumentType type used for the property value.

See also

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