Search code examples
javaspring-boottemplatesgradlefreemarker

how to use FreeMarker template to generate outputs?


I am a python developer who knows itsy-bitsy Java. Now I am given some input data, in XML format, and a piece of template.ftl code. How can I "render" the input data in the template and generate the outputs? I suppose I will need to build a mar file which can consume the XML input data, right? Can someone give me some high level instructions? If there's an existing Github repo that I can reference to, that will be even better. Thanks!


Solution

  • This FMPP tool helped me to do exactly what I wanted to do.