Apache FOP has this feature but it is not fully implemented
http://xml.apache.org/fop/output.html#mif You can also try Adobe Framemaker or IBM TeXML (not sure and never used them)
searching in google for the keyword xml to mif conversion may help you a bit.
If your goal to generate a document for printing , then you can also PDF output using apache FOP.