XML node does not belong to MSXML4.DOMDocument. (Error 2128)

Visual FoxPro requires that XML data cannot be accessed when there is not a parent document.