Purpose
Retrieves the root element of the document.
Syntax
MIXmlDocumentGetRootNode( ByVal hXMLDocument As MIXmlDocument )
As MIXmlNode
hXMLDocument is the MIXmlDocument object handle.
Return Value
A handle to an MIXmlNode object representing the root element of the document if successful; otherwise NULL.
Description
MIXmlDocumentGetRootNode() retrieves a handle to an MIXmlNode object that represents the root of the XML document tree. It returns NULL if no root exists.
The caller has to dispose of the handle by calling the MIXmlNodeDestroy() procedure when the handle is no longer in use.