It's possible to do an XML export. That would seem to be what you want here.
how do I do that?
I am not an expert when it comes to xml exports, but I can select a layout in my database based on the table of data that I want to export. From the File menu, I can select Export Records. In the dialog that pops up, an XML file is one of the file formats that I can select for my export. The next dialog requires that I select an XML grammar and/or a "style sheet". From there, I get a dialog where I can select the fields, and in what order I want to export them.
This manual process can also be automated in a script.