Here is how we do it at my company:
- Get an XML database to query your files. I recommend BaseX (it's the easiest to install)
- Write the Queries to get the data you need. You will need to learn XPath and XQuery. If you already know XML you should know about XPath and there is a simple XQuery tutorial at w3schools
- Call the queries from Excel. BaseX and most XML Databases are also web servers. You can call a query using an URL (like
http://localhost:8080/basex.....
). You create a Table on Excel with that URL as source, or you can call it from VBA using the XMLHttpRequest object.
Hope you find this info useful.