Prop Node Baseuri
# XML DOM baseURI Property
* * Node Object](#)
* * *
## Definition and Usage
The baseURI property returns the absolute base URI of the node.
## Syntax
nodeObject.baseURI
* * *
## Example
The following code snippet uses [loadXMLDoc()](#) to load "[books_ns.xml](#)" into xmlDoc and returns the base URI of the element:
## Example
xmlDoc=loadXMLDoc("books_ns.xml"); x=xmlDoc.getElementsByTagName('title'); for(i=0;i<x.length;i++){document.write(x.item(i).baseURI); document.write(""); }
[Try it Β»](#)
* * Node Object](#)
YouTip