RAD Studio VCL Reference
|
Returns the node name.
function GetNodeName: DOMString;
__fastcall DOMString GetNodeName();
Use the TXMLNode object's IXMLNode interface to call the protected GetNodeName method. GetNodeName returns 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 |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|