Property: RootElement as XMLData (read-only)
The property RootElement provides access to the root element of the XML structure of the document including the XML prolog data. To access the first element of a document's content navigate to the first child of kind spyXMLDataElement or use the Document.DataRoot property. If the CurrentViewMode is not spyViewGrid or spyViewAuthentic an UpdateXMLData may be necessary to get access to the latest XMLData.
The document object is no longer valid.
Invalid address for the return parameter was specified.