Using XSL to generate country / tax.xml

XSL transforms are already used to provide the charts of accounts in multiple languages for countries where several languages are commonly used, for example: modules/account_be: d429b0c6650f localize.xsl

I’m not sure whether anyone has investigated using them to generate other files though.

There is also this topic you may be interested in: Templating the XML files