The getNodeName()
method returns the name of the node.
This is typically the tag name for elements, or the type of the node for non-element nodes, such as text nodes or document nodes. It allows for easy identification of the node's type or name in a given document model.
Description
public AbstractNode::getNodeName(): string
Parameters
None
Return Value
A string
representing the name of the node.
Exceptions
None