Q. What is the purpose of the method nodeMap.setNamedItem()?
β
Correct Answer: (B)
Sets attribute node
Explanation: The method nodeMap.setNamedItem() sets the specified attribute node (by name).