Simple templating engine for XWeb