Hi guys! 

We're making a collective document with MediaWiki and want to allow the user to export the whole document in MsWord and PDF formats. The idea is to create XML-representation of the result and then turn it to doc and pdf. 

1) I have no idea how to implement the conversion to MSWord. Maybe with XSL and FOP? 
2) It would be great to first generate the LaTeX representation and then compile it to the document. Which tools can you recommend to convert XML\JSON to Latex? 

Yury Katkov, WikiVote