XML versus web template engines

August 2008


When generating webpages from data, there are a host of techniques available to the clueless sysadmin. XML, XSD, XSLT and XPATH (well explained at zvon.org and xmlfiles.com) provide a generic way to store data, and transform it to whatever format desired.

Advantages

Disadvantages

But XML c.s. have a rather steep learning curve, and if you just want to fill in a few values in your HTML pages, template engines like e.g. django, smarty or cheetah may be a quicker solution.

Advantages

Disadvantages