Extracting shape names from Camunda BPMN?

I can open a bpmn model in text to get the xml. I can then save that as .csv and open it in excel. I can use conditional formatting to find all strings with name=

But this a very manual way, is there someway that I can easily export all shape names used in a model? I’m looking for something as easy as Visio’s reporting tool.