Could someone point me to an example of creating a data connection to an XML file for a secondary data source? The data in question is being created by a different InfoPath form on the same server and in the same folder as this one, not that it should make much difference.
The example I find are all creating it via the GUI and I need to do in the code behind because my connection is dynamic (path parameter coming into the form via the URL -which I have already worked out).
Environment:
All I am trying to accomplish is to display a few fields from the other XML file in this form as read only information.
Thanks ahead of time for your time and effort!