elementsetattributens02 IBM The method setAttributeNS adds a new attribute. Retrieve an existing element node with attributes and add a new attribute node to it using the setAttributeNS method. Check if the attribute was correctly set by invoking the getAttributeNodeNS method and checking the nodeName and nodeValue of the returned nodes. Neil Delima 2002-04-28