I think it should be pointed out more precisely in documentation that the first parameter of getElementsByTagNameNS is the namespaceURI, and not the namespace as some people may think it.
Given an XML declaration <?xml xmlns:mynamespace="http://mynamespace.org/" encoding="utf-8"?> and a node named <mynamespace:mytag />
Use getElementsByTagNameNS('http://mynamespace.org/', 'mytag') to get such tags AND NOT getElementsByTagNameNS('mynamespace', 'mytag')
Page last modified 17:47, 15 Dec 2006 by Andreas Wuest