Hi Hilary,
I tried to upload the XML file which included 3 metadata fields (Division, Section, Group) to the document library. But when I set a data connection to this document library that I was unable to pull data (Division, Section, Group) within the XML file from the document library. I don't think it would be retrieved data inside the XML file to populate data to the InfoPath form. Sorry, I am not sure I was doing correctly or missing anything? Thanks,