public abstract Attr getAttributeNode (String name)

Retrieves an attribute node by name.
To retrieve an attribute node by qualified name and namespace URI, use the getAttributeNodeNS method.

name    The name (nodeName) of the attribute to retrieve.

Returns:  The Attr node with the specified name ( nodeName) or null if there is no such attribute.