The first parameter is the namespace URI of the element name (not the prefix, the URI the prefix is mapped to via xmlns:prefix). The second parameter is the local part of the element name (i.e. excluding the prefix).
I assume you are asking because you're looking for a namespaced element name. If there are no namespaces involved then I think you'll find there is a similar method named getElementsByTagName.
Joined: May 05, 2006
No.. I don't have any namespaces.. At least nothing specifically specified. I was looking at getElementsByTagNameNS because the problem with getElementsByTagName is that it gets ALL child nodes with a particular name..
Whereas, I'm trying to ensure that I only grab the immediate children with a given name. [ March 23, 2007: Message edited by: Jonathan Bagshaw ]