Xml.xmldom.IDOMNode.nodeName
Delphi
property nodeName: DOMString read get_nodeName;
C++
__property System::UnicodeString nodeName = {read=_scw_get_nodeName};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Xml.Xmldom.pas Xml.xmldom.hpp |
Xml.xmldom | IDOMNode |
Description
Indicates the name of the node.
Read nodeName to determine the name of the DOM node. The value of nodeName depends on the type of the node, as indicated in the following table:
nodeType | nodeName |
---|---|
ATTRIBUTE_NODE |
The name of the attribute. |
ELEMENT_NODE |
The tag name for the node. |
TEXT_NODE |
|
CDATA_SECTION_NODE |
|
ENTITY_REFERENCE_NODE |
The name of the entity reference. |
ENTITY_NODE |
The entity name. |
PROCESSING_INSTRUCTION_NODE |
The target of the processing instruction. |
COMMENT_NODE |
|
DOCUMENT_NODE |
|
DOCUMENT_TYPE_NODE |
The document type name. |
DOCUMENT_FRAGMENT_NODE |
|
NOTATION_NODE |
The notation name. |
Note: If the prefix and localName properties are defined for a node, nodeName is the combination of those two values.