hasAttribute02 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 attribute "street" has a default value. Mary Brady 2001-08-17