setNamedItem method
The setNamedItem()
method of the NamedNodeMap interface
puts the Attr identified by its name in the map.
If there is already an Attr with the same name in the map,
it is replaced.
Implementation
external Attr? setNamedItem(Attr attr);