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

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 UTC