Question

Im searching a Template Lib or Template Engine for generating HTML (XML) that runs under Jython (Jython 2.5 Alpha is ok).

Was it helpful?

Solution

Use StringTemplate, see http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf for details of why. There is nothing better, and it supports both Java and Python (and .NET, etc.).

OTHER TIPS

Have you tried Cheetah, I don't have direct experience running it under Jython but there seem to be some people that do.

Jinja is pretty cool and seems to work on Jython.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top