XML to ODT Converter
We use the Java programming language. If you want to do a similar task, have a closer look at our work. Since ODT is part of the ODF standard, which is well defined, XML-based and easy, this task should not be that complex - an so it is.
The work was done by Tim Schäfer, he used the ODFDOM API as an abstraction layer for ODF.