DOM:document.namespaceURI
From MDC
Contents |
[edit] Summary
namespaceURI returns the XML namespace for the current document.
[edit] Syntax
NSURI = document.namespaceURI
[edit] Parameters
-
NSURIis a string containing the namespace.
[edit] Notes
The DOM does not handle or enforce namespace validation per se. It is up to the DOM application to do any validation necessary. Note too that the namespace prefix, once it is associated with a particular node, cannot be changed.