XMLNode.OwnerDocument (Word)

Returns a Document object that represents the parent document of the specified XML element.


Dim objDoc As Document 
 
Set objDoc = Selection.XMLNodes(1).OwnerDocument