Re: Regarding NameNodeMap!!!

> 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 UTC