Re: Regarding NameNodeMap!!!

>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