getNamedItem method
The getNamedItem() method of the NamedNodeMap interface returns
the Attr corresponding to the given name, or null if there is no
corresponding attribute.
Note: This method is also called when you use the operator
[]syntax. So,myMap[str]is equivalent tomyMap.getNamedItem(str)wherestris a string.
Implementation
external Attr? getNamedItem(String qualifiedName);