Re: setNamedItemNS(namespaceURI, localName)

Yes, I see my confusion now.
We send a complete object and we may get one back.
Thank You, 
Joe

----- Original Message ----- 
From: "Joseph Kesselman" <keshlam@us.ibm.com>
To: "Joe D Willliams" <JOEDWIL@earthlink.net>
Cc: <www-dom@w3.org>
Sent: January 25, 2001 6:29 AM
Subject: Re: setNamedItemNS(namespaceURI, localName)


> 
> It looks like someone is confusing this setter method
>                    Node setNamedItemNS(in Node arg)
> raises(DOMException);
> with its corresponding getter:
>        Node getNamedItemNS(in DOMString namespaceURI,  in DOMString
> localName);
> 
> Note that the arguments are different. In the setter, we're inserting a
> particular Node, and using that node's  name  -- which is a two-part value
> made up of its localname and its namespaceURI, as stored in the node
> itself. In the getter, we're specifying that two-part name and expect the
> matching node (if any) to be returned.
> 
> 
> 

Received on Thursday, 25 January 2001 11:48:32 UTC