The NamedNodeMap
interface represents a collection of Attr
objects. Objects inside a NamedNodeMap
are not in any particular order, unlike NodeList
, although they may be accessed by an index as in an array.
Documentation NamedNodeMap by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
Methods
getNamedItemNS(namespaceURI:String, localName:String):Attr
Returns a Attr
identified by a namespace and related local name.
item(index:Int):Attr
Returns the Attr
at the given index, or null
if the index is higher or equal to the number of nodes.
removeNamedItemNS(namespaceURI:String, localName:String):Attr
setNamedItem(arg:Attr):Attr
setNamedItemNS(arg:Attr):Attr
Replaces, or adds, the Attr
identified in the map by the given namespace and related local name.
Throws:
null | DOMError |
---|