Если бы люди искали что-то знакомое, это помогло.
import xml.etree.ElementTree as ET
xmlfiles = dbutils.fs.ls(storage_mount_name)
##Get attribute names (for now I took all leafs of the xml structure)
firstfile = xmlfiles[0].path.replace('dbfs:','/dbfs')
root = ET.parse(firstfile).getroot()
attributes = [node.tag for node in root.iter() if len(node)==0]
clean_attribute_names = [re.sub(r'\{.*\}', '', a) for a in attributes]
#Create Dataframe and save it as csv
df = pd.DataFrame(columns=clean_attribute_names, index=xmlfiles)
for xf in xmlfiles:
afile = xf.path.replace('dbfs:','/dbfs')
root = ET.parse(afile).getroot()
df.loc[afile] = [node.text for node in root.iter() if node.tag in attributes]