What is the purpose of the method nodeMap.setNamedItem()?
What is the purpose of the method nodeMap.setNamedItem()? Correct Answer Sets attribute node
The setNamedItem() method adds the specified node to the NamedNodeMap. The method nodeMap.setNamedItem() sets the specified attribute node (by name).