om.DomNode.getTagName

Returns the XML tag name of a DOM node.

Syntax

getTagName()
  RETURNS STRING

Usage

The getTagName() method returns the XML tag name of the node.

Use this method to identity the type of the node.

For character nodes (created for example with the createChars() of a DomDocument object), the getTagName() method returns "@chars".

Example

DEFINE node om.DomNode
...
DISPLAY node.getTagName()