question about generating documents live on server

Hi there,

in our framework (mainly C++/python based) we use html + xml + xstl to
generate pdf files - different types like agreements, appendices, etc. It's
quite painful when it comes to any change in such a document specially when
a template is sent in doc/odt files.

I was wondering if there is a chance to use libreoffice solution and fill
such documents online on the server and converting them to pdf files? I
understand odt is actually zip archive and we can unzip it, replace
content.xml with proper data and zip it back. But perhaps there are other
methods/solutions we can use to process odt files more natively ?

Many thx
Marcin