XML DOM nodeName Property

The following code fragment loads "books.xml" into xmlDoc, displays the node name, node value, and node type of the category attribute

Definition and Usage

The nodeName property returns the name of a node, depending on its type.

Syntax

attrObject.nodeName

❮ Attr Object