MergeEvent.DOM Property
InfoPath Developer Reference |
A read-only property that returns a reference to a form's underlying XML document as an XML Document Object Model (DOM) construction for the current form involved in a merging operation. Read-only
Version Information
Version Added: InfoPath 2003
Syntax
expression.DOM
expression An expression that returns a MergeEvent object.
Return Value
[IXMLDOMDOCUMENT]
Remarks
The DOM property allows you to access and manipulate the source XML of a form programmatically. After you have set a reference to the XML DOM, which contains the source XML data of a form, you can use any of the properties and methods that are supported by the XML DOM.
Note |
---|
To learn more about the XML DOM and the properties and methods that it supports, see the MSXML 5.0 SDK documentation in the Microsoft Script Editor (MSE) Help system. |
Security Level 2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
Example
This example shows how to use the DOM property of an instance of the MergeEvent object to merge the data into the current form:
JScript |
---|
|
See Also