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

TDOMNode.NodeName

Name for the DOM node.

Declaration

Source position: laz2_dom.pas line 260

public property TDOMNode.NodeName : DOMString
  read GetNodeName;

Description

NodeName is a read-only DOMString property that contains the name for the DOM node. The read access specifier for the property is an abstract method in TDOMNode, and must be implemented in descendent classes to return the correct value for the DOM node specializations.

The values for NodeName, NodeValue, and Attributes vary according to the node type as follows:

DOM Interface NodeName NodeValue Attributes
TDOMAttr Name of the attribute Value of the attribute N/A
TDOMCDATASection #cdata-section Content of the CDATA Section N/A
TDOMComment #comment Content of the comment N/A
TDOMDocument #document None N/A
TDOMDocumentFragment #document-fragment None N/A
TDOMDocumentType Document type name None N/A
TDOMElement Tag name None TDOMNamedNodeMap
TDOMEntity Entity name None N/A
TDOMEntityReference Name of the entity referenced None N/A
TDOMNotation Notation name None N/A
TDOMProcessingInstruction Target Entire content excluding the target N/A
TDOMText #text Content of the text node N/A

See also

TDOMNode.NodeValue

  

Value for the DOM node.

TDOMNode.NodeType

  

Node type for the DOM Node.


Version 3.2 Generated 2024-02-25 Home