elementsetattributens08 IBM The method setAttributeNS adds a new attribute and raises a NAMESPACE_ERR if the qualifiedName, or its prefix, is "xmlns" and the namespaceURI is different from "http://www.w3.org/2000/xmlns/". Invoke the setAttributeNS method on a new Element object with namespaceURI that is http://www.w3.org/DOMTest/level2 and a qualifiedName that has the prefix xmlns and once again with a qualifiedName that is xmlns. Check if the NAMESPACE_ERR was thrown. Neil Delima 2002-04-28