Xml.xmldom.IDOMNode.nodeValue
Delphi
property nodeValue: DOMString read get_nodeValue write set_nodeValue;
C++
__property System::UnicodeString nodeValue = {read=_scw_get_nodeValue, write=set_nodeValue};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | Xml.Xmldom.pas Xml.xmldom.hpp |
Xml.xmldom | IDOMNode |
Description
Indicates the value of the node.
Read nodeValue to determine the value of the DOM node. Set nodeValue to change the value of a node.
Note: You can't set the value of a node whose value is listed as nil (Delphi) or NULL (C++) in the following table.
The value of nodeValue depends on the type of the node, as indicated in the following table:
| nodeType | nodeValue |
|---|---|
|
ATTRIBUTE_NODE |
The value of the attribute. |
|
ELEMENT_NODE |
nil (Delphi) or NULL (C++). |
|
TEXT_NODE |
The content of the text node. |
|
CDATA_SECTION_NODE |
The content of the CDATA section. |
|
ENTITY_REFERENCE_NODE |
nil (Delphi) or NULL (C++). |
|
ENTITY_NODE |
nil (Delphi) or NULL (C++). |
|
PROCESSING_INSTRUCTION_NODE |
The content of the processing instruction except for the target. |
|
COMMENT_NODE |
The content of the comment. |
|
DOCUMENT_NODE |
nil (Delphi) or NULL (C++). |
|
DOCUMENT_TYPE_NODE |
nil (Delphi) or NULL (C++). |
|
DOCUMENT_FRAGMENT_NODE |
nil (Delphi) or NULL (C++). |
|
NOTATION_NODE |
nil (Delphi) or NULL (C++). |