elementhasattribute04 IBM The method hasAttribute returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. Create an element Node and an attribute Node and add the attribute node to the element. Invoke the hasAttribute method on the element and verify if the method returns true. Neil Delima 2002-04-28