Sets the attribute node by name and namespace URI.
Use this method to set an attribute of the node. Previous value is searched by local name and namespace URI. If the node is found, it is replaced with NewAttr and returned. If no node is found, NewAttr is added to the list and null/nil/Nothing is returned.