Easy Tutorial
❮ Dom Namednodemap Dom Nodes Traverse ❯

XML DOM documentURI Property



Definition and Usage

The documentURI property sets or returns the location of the document.

Syntax


Example

The following code snippet uses loadXMLDoc() to load "books.xml" into xmlDoc and displays the location of the XML document:

Example

Output:


❮ Dom Namednodemap Dom Nodes Traverse ❯