xhtml-based templating engine, allowing Haskell functions to be bound to XML tags