Best approach for loading complex xml


I am still fairly new to the ELK stack.

I have a project coming up that I would like to experiment loading the xml files into ES using LS. The xml have many nested objects.
So far I have loaded fairly simple xml files.

Per my understanding, Kibana it does not seem to like objects in arrays. This is separate, but impacts how the data in ES is structured.

What would be a good approach for dealing with "complex" xml files?

Thanks in advance for any pointers.