This method retrieves a DOMNode using a name. It first
searches for a DOMNode with a matching id
attribute. If it doesn't find one, it then searches for a
DOMNode with a matching name attribute, but
only on those elements that are allowed a name attribute.
name - the name of the DOMNode to be fetched.
the DOMNode with a name or
id attribute whose value corresponds to the specified
string. Upon failure (e.g., no node with this name exists), returns