org.w3c.dom.NamedNodeMap.setNamedItemNS
method

    public setNamedItemNS(arg as Node) as Node throws DOMException

Description

Adds or replaces a namespace-aware named node.

Parameters

Parameter | Description
--- | ---
`arg` | Node to store.

Returns

Previously stored node with the same namespace/local name, or null.

Throws

- DOMException if the node cannot be stored.

Example

    previous = attributes.setNamedItemNS(attr)