W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: setNamedItemNS(namespaceURI, localName)

From: Joe D Willliams <JOEDWIL@earthlink.net>
Date: Thu, 25 Jan 2001 09:56:35 -0500 (EST)
Message-ID: <001701c086de$6dd1c6a0$07d3fc9e@a>
Cc: <www-dom@w3.org>
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 GMT

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