XML DOM documentElement Property

The following code fragment loads "books.xml" into xmlDoc and displays the location of the XML document

Definition and Usage

The documentElement property returns the root node of the document.

Syntax

documentObject.documentElement

❮ Document Object