RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNode.NodeName Property

Indicates the node name.

Pascal
property NodeName: DOMstring;
C++
__property DOMstring NodeName;

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:

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!