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
and Node object has an attribute--nodeName.  If I have an attribute
should getName() from attribute interface and getNodeName() from node
interface returns the same name?  What's purpose of having attribute
in an Attr. object?

Thanks a lot!

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC