getAttributeNS04 NIST The "getAttributeNS(namespaceURI,localName)" method retrieves an attribute value by local name and NamespaceURI. Retrieve the first "emp:address" element. Create a new attribute with the "createAttributeNS()" method. Add the new attribute and value with the "setAttributeNS()" method. The value returned by the "getAttributeNS()" method should be the string "NewValue" since the attribute had a specified value. Mary Brady 2001-08-17