Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffXMLDOMNode::GetNodeName

# IDLffXMLDOMNode::GetNodeName

Syntax | Return Value | Arguments | Keywords | Version History

The IDLffXMLDOMNode::GetNodeName function method returns the name of the node, depending on the calling node’s subclass type.

## Syntax

Result = Obj->[IDLffXMLDOMNode::]GetNodeName()

## Return Value

Returns a scalar string whose value depends on the subclass type:

Subclass | Return Value
IDLffXMLDOMAttr | attribute name
IDLffXMLDOMCDATASection | “#cdata-section”
IDLffXMLDOMComment | “#comment”
IDLffXMLDOMDocument | “#document”
IDLffXMLDOMDocumentFragment | “#document-fragment”
IDLffXMLDOMDocumentType | document type name
IDLffXMLDOMElement | tag name
IDLffXMLDOMEntity | entity name
IDLffXMLDOMEntityReference | name of entity reference
IDLffXMLDOMNotation | notation name
IDLffXMLDOMProcessingInstruction | target
IDLffXMLDOMText | “#text”

## Arguments

None

## Keywords

None

## Version History

6.1 | Introduced