Re: getElementsByTagNameNS

>Is getElementsByTagNameNS supposed to be able to find elements that are in
>no namespace?

Yes, null should work to specify these.

>what's the behaviour of the DOM level 1 method getElementsByTagName?

Completely insensitive to namespaces. Yes, that makes it useless for
namespace-aware processing; its main use these days is to support backward
compatability for pre-namespace (eg DOM Level 1) applications.

Joe Kesselman  / IBM Research

Received on Thursday, 23 August 2001 10:04:08 UTC