I tried to get to your document through its parent Window object. I accessed some read-only properties just to see if I could get in, but Ireceived the following errors:
?this.Application.Windows[0].XDocument.DOM
'((Microsoft.Office.Interop.InfoPath.Window2)(this.Application.Windows[0])).XDocument' threw an exception of ...