Multiple choice technology testing

What is the method used to get the root element of an xml document

  1. RootElement

  2. GetRootItem

  3. GetRootNode

  4. GetRootElement

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

GetRootElement is the standard method to retrieve the root element from an XML document object. This method returns the top-level element from which all other elements in the XML hierarchy descend.