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

getName() (for Attr. objects) vs. getNodeName()

From: Stanley Guan <Stanley.Guan@oracle.com>
Date: Sat, 28 Oct 2000 15:55:06 -0700
Message-ID: <39FB594A.179698A7@oracle.com>
To: www-dom@w3.org
Interface Attr extends Node.  However, Attr object has an
attribute--name,
and Node object has an attribute--nodeName.  If I have an attribute
object,
should getName() from attribute interface and getNodeName() from node
interface returns the same name?  What's purpose of having attribute
"name"
in an Attr. object?

Thanks a lot!

-Stanley Guan
Received on Saturday, 28 October 2000 18:56:09 GMT

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