Multiple choice

Which of the following methods of XML Document Object Model returns a list of all the children of the current node?

  1. x.getChildNodes

  2. x.getFirstChild

  3. x.getLastChild

  4. x.getAttributes

  5. x.insertBefore

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This method of XML Document Object Model returns a list of all the children of the current node.