Returns the root element of the document.
Set objXMLDOMElement = oXMLDOMDocument.documentElement
HRESULT get_documentElement(
IXMLDOMElement** DOMElement);
Sets the root element of the document.
Set objXMLDOMDocument.documentElement = objXMLDOMElement
HRESULT putref_documentElement(
IXMLDOMElement* DOMElement);
Returns S_OK if successful, or an error code otherwise.
When setting the documentElement property, the specified element node is inserted into the child list of the document after any document type node. To precisely place the node within the children of the document, call the XMLDOMNode object's insertBefore method.
The parentNode property is reset to the document node as a result of this operation.