Sign in Join
FPDoc Onlineexperiment

TDOMNode.NodeValue property

Member of TDOMNodepublicIn unit Laz2_DOM

Value for the DOM node.

Declaration

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

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