JavaScript DHTML/Javascript Collections/namespaces
"namespaces" Example
<html xmlns:namespace1 xmlns:namespace2>
<button onclick="alert(document.namespaces.length);">
Number of namespaces
</button>
</body>
</html>
<html xmlns:namespace1 xmlns:namespace2>
<button onclick="alert(document.namespaces.length);">
Number of namespaces
</button>
</body>
</html>