W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001


From: Julian F. Reschke <julian.reschke@greenbytes.de>
Date: Thu, 23 Aug 2001 15:28:34 +0200
To: <www-dom@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCKEMOCOAA.julian.reschke@greenbytes.de>

a quick question.

Is getElementsByTagNameNS supposed to be able to find elements that are in
no namespace? If yes, how? It seems that Xerces accepts null as
namespaceUri, which seems to be right.

If getElementsByTagNameNS can not match elements which aren't in a
namespace, what's the behaviour of the DOM level 1 method
getElementsByTagName? From what I read it will ignore the namespaceUri and
will only check the name, making it useless for documents where namespaced
elements occur...

Received on Thursday, 23 August 2001 09:28:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC