Xml.xmldom.IDOMNode.nodeName

From RAD Studio API Documentation
Jump to: navigation, search


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

  1. text

CDATA_SECTION_NODE

  1. cdata-section

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

  1. comment

DOCUMENT_NODE

  1. document

DOCUMENT_TYPE_NODE

The document type name.

DOCUMENT_FRAGMENT_NODE

  1. document-fragment

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.

See Also