Xml.XMLIntf.IXMLNode.NodeName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NodeName: DOMstring read GetNodeName;

C++

__property System::UnicodeString NodeName = {read=GetNodeName};

Properties

Type Visibility Source Unit Parent
property public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLNode

Description

Indicates the node name.

NodeName is the name of the underlying DOM node.

The node's name depends on the type of the node, as indicated in the following table:



NodeType NodeName

ntAttribute

The attribute name

ntElement

The tag name

ntText

'#text'

ntCData

'#cdata-section'

ntEntityRef

The name of the entity reference.

ntEntity

The entity name

ntProcessingInstr

the target of the processing instruction

ntComment

'#comment'

ntDocument

'#document'

ntDocType

The document type name

ntDocFragment

'#document-fragment'

ntNotation

The notation name



Note: If Prefix and LocalName are both defined for a node, the node name is the combination of these two values.

See Also