W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Regarding NameNodeMap!!!

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Tue, 16 Oct 2001 10:39:44 -0400
To: <www-dom@w3.org>
Message-ID: <OFDF4A8719.C651DE9A-ON85256AE7.00501BEC@pok.ibm.com>

>What should be the lookup key used to retrieve from NamedNodeMap?

As a DOM implementer you have to support both:

For getNamedItemNS(), the key is the localname and namespace URI.

For  getNamedItem(), the key is the qualified name. This provides backward
compatability for DOM Level 1 applications.

Joe Kesselman  / IBM Research
Received on Tuesday, 16 October 2001 10:40:19 UTC

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