Generate openfire.xml from MySQL

Hello all,

Is there any way to generate a plain openfire.xml file from my settings stored in MySQL?

Thank you.