hasAttribute04 NIST The "hasAttribute()" method for an Element should return true if the element has an attribute with the given name. Retrieve the first "address" element and the "hasAttribute()" method should return true since the element has "domestic" as an attribute. Mary Brady 2001-08-17