<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<body>
<p >Click the button get the URI of the document's namespace.</p>
<button onclick="myFunction()">Try it</button>
<p><strong>Note:</strong> Internet Explorer 8 and earlier does not support the namespaceURI property.</p>
<p id="demo"></p>
<script>
function myFunction() {
var x = document.documentElement.namespaceURI;
document.getElementById("demo").innerHTML = x;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_node_namespaceuri by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:02:19 GMT -->
</html>