Hi, this is my node wrangler script that helped me getting node-setups over to XML. It is _not_ complete, but would like to let yall know.
The resulting XML needs little manual work.
It is a translation layer between the python API and XML, and it is easy to add more "translations".
The class is named "NWExportGroupAsXML", and you get it via right-click at the bottom ("export as xml").