The XDocument Object

The XDocument object represents the underlying XML document of an InfoPath form.

XDocument Object Methods

The XDocument object has nine methods:

  • GetDataVariable()— Retrieves the value of a variable held as a pseudo-attribute in an XML processing instruction. The method's single argument is a long integer that is the number of the variable. Security level 2.

  • GetDOM()— Returns a reference to the DOM of a DataObject object. The method's single argument is a string that is the name of the secondary data source. Security level 2.

  • ImportFile()— Imports another InfoPath form into the current form. The method's single argument is a URL that indicates the location of the file to be imported. Security level 2.

  • PrintOut()— Prints out ...

Get Microsoft® Office InfoPath™ 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.