public setNamedItem(arg as Node) as Node throws DOMException
Adds or replaces a named node.
Previously stored node with the same name, or null.
previous = attributes.setNamedItem(attr)