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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT