RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDOMNode.nodeName Property

Indicates the name of the node.

Pascal
property nodeName: DOMString;
C++
__property DOMString nodeName;

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:

nodeName 
The name of the attribute.  
The tag name for the node.  
#text  
#cdata-section  
The name of the entity reference.  
The entity name.  
The target of the processing instruction.  
#comment  
#document  
The document type name.  
#document-fragment  
The notation name.  

Note: If the prefix and localName properties are defined for a node, nodeName is the combination of those two values.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!