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

TDOMNode.NodeValue

Value for the DOM node.

Declaration

Source position: laz2_dom.pas line 261

public property TDOMNode.NodeValue : DOMString
  read GetNodeValue
  write SetNodeValue;

Description

NodeValue is a DOMString property that contains the value for the DOM node. Reading the value in NodeValue always results in an empty string ('') in TDOMNode, and writing the value for the property is not implemented. The access specifiers must be re-implemented in descendent classes to perform the actions required 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.NodeName

  

Name for the DOM node.

TDOMNode.NodeType

  

Node type for the DOM Node.


Version 3.2 Generated 2024-02-25 Home