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

Re: Regarding NameNodeMap!!!

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 16 Oct 2001 07:50:56 -0400
Message-ID: <3BCC1F20.73DAFAA3@w3.org>
To: Thara S <s_thara@rti.daimlerchrysler.com>
Cc: www-dom@w3.org
> Thara S wrote:
> 
> Hi !!
> 
> Here's my query!!! ........Can somebody help me out on this.......???
> 
> In DOM specification, an element's NamedNodeMap contains its attribute nodes. In
> DOM level 1,we use setNamedItem to
> retrieve a node from NamedNodeMap by its name. In DOM level 2 the setNamedItemNS
> method is used...,
> 
> I wanted to know ....What should be the lookup key used to retrieve from
> NamedNodeMap? Is it qualifiedName(two-part
> name containing prefix and localName) or two-part name containing localName and
> namespaceURI?

The nodeName from the Node interface.

Philippe
PS: please, use the appropriate mailing list. The www-dom is for questions regarding the
specifications. www-dom-ts is for test suites related questions.
Received on Tuesday, 16 October 2001 07:50:59 GMT

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