views:

63

answers:

4

Rules

  1. One option per answer
  2. List language constraints
  3. A minimum of one pro and one con
  4. At least one URL resource.

If your feeling generous include a description or your own experience with it.

+2  A: 

XSLT

Language Agnostic

Pro:

  • Extremely versatile
  • Language Agnostic

Cons:

  • Learning curve
  • Variation across implementations
  • XML syntax can be verbose


W3C Specification

.NET XslCompiledTransform

ChaosPandion
+2  A: 

Jinja

Language: Python 2.4+

Pro: It's flexible

Con: You need a C compiler for debugging

It's a generic templating engine written in Python. It's often used as an alternative to the Django templating engine by people who don't like the restrictive nature of the Django templating engine.

Hank Gay
+1  A: 

Velocity

Language: Java

Pro: It's flexible

Con: Not as popular as it once was.

This is another generic templating engine, this one written in Java. At one time, it was a popular alternative to JSP, although it has fallen off a bit since then.

Hank Gay
A: 

Stringtemplate can be used as a generic code emitter. Written in Java

questzen