I have 50K xml files (zml technically, but behave the same), each with metadata for a single file. I need to combine that metadata into a single SQL table so I can manipulate it there. The xml files have varying metadata tags, with some overlapping and some not. How can I get from 50K xml to a single SQL table?
I've looked at Powershell and can get part of the data from a single file parsed out, but haven't figured out writing it into a csv yet.
I've looked at XML data maps in Excel but it only seems to allow the import of a single xml file (1 row of data essentially).
I've also used a co-worker's script to import a single file's worth into SQL, but it puts the whole SQL into a single field, and would then need to be parsed out.
Looking for the best, most efficient path forward, or other ideas.
I have also considered combining all the individual xml files first, but there isn't anything in the file that would identify which file its from - so no way to link it back to the file its describing.