XML DOM nodeValue Property

The following code fragment loads "books.xml" into xmlDoc and displays the node name and node value of the root node

Definition and Usage

The nodeValue property sets or returns the value of a node, depending on its type.

Syntax

nodeObject.nodeValue

❮ Node Object