-werners-
Esteemed Contributor III

databricks has a xml connector:

https://docs.databricks.com/data/data-sources/xml.html

Basically you just define a df with the correct structure and write it to xml.

To create a nested df, here you can find some info.

View solution in original post