elementsetattributenodens05 IBM The method setAttributeNodeNS Adds a new attribute and raises an WRONG_DOCUMENT_ERR if newAttr was created from a different document than the one that created the element. Create new element and attribute nodes in different documents. Attempt to add the attribute node to the element node. Check if an WRONG_DOCUMENT_ERR is thrown. Neil Delima 2002-04-28