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

TDOMDocument.GetDocType

Gets the value for the DocType property.

Declaration

Source position: laz2_dom.pas line 488

protected function TDOMDocument.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

TDOMDocument.DocType

  

Document Type declaration used in the document.

TDOMNode.FirstChild

  

Gets the first child node for the current node.

TDOMNode.NextSibling

  

Next DOM Node at the same level in the DOM tree.

TDOMNode.NodeType

  

Node type for the DOM Node.

TDOMElement

  

Implements the DOM Element interface from the DOM specification.


Version 3.2 Generated 2024-02-25 Home