views:

309

answers:

3

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

+2  A: 

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

Harald Scheirich
+2  A: 

Jinja is pretty cool and seems to work on Jython.

nosklo
+1  A: 

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.).

Rob Williams