removeNamedItemNS
Summary
Removes an attribute with a given name and a given namespace.
Method of dom/NamedNodeMapdom/NamedNodeMap
Syntax
var attribute = attributes.removeNamedItemNS(/* see parameter list */);
Parameters
namespace
- Data-type
- String
The namespace name of the attribute to remove.
name
- Data-type
- String
The local name of the desired attribute within the specified namespace.
Return Value
Returns an object of type DOM NodeDOM Node
The removed attribute node.
Related specifications
- DOM Level 3 Core
- Recommendation
Attributions
Mozilla Developer Network : [NamedNodeMap Article]
Microsoft Developer Network: [removeNamedItemNS Article]