Defines the XML fragments that form a master and detail relationship in a view's repeating tables or repeating sections.
|master||No||Contains the XPath of the XML fragment that is bound to a master table or section.||string|
|masterViewContext||No||Specifies a string that identifies an HTML element in the view.||string|
|masterKey||No||Contains the XPath of the field in the master XML fragment that forms the relationship to the detail XML fragment.||string|
|detailKey||No||Contains the XPath of the field in the detail XML fragment that forms the relationship to the master XML fragment.||string|
Note If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will prevent the form template from being deployed to the server as a browser-compatible form.
The following is an example of the masterDetail element: