No Graphisoft source code is available to my knowledge. Were the XML Converter tool available, it would be on the developer SDK site with the API and library kits, but it isn't.
While you can't change the conversion from XML back to GDL... you can certainly run any code/scripts on the XML itself prior to conversion. Is that not sufficient to achieve your goals?
One of the forum moderators • AC 26 USA and earlier • macOS Ventura 13.2, iMac Pro 10-Core, Radeon Pro Vega 64