CamlTemplate is a library for generating text from templates in Objective Caml. It can be used to generate Web pages, scripts, SQL queries, XML documents, and other sorts of text files. It provides a versatile, easy-to-learn template syntax that supports common scripting-language constructs, while encouraging a separation between presentation logic and application logic. The supported Caml data structures accomodate lists, tables, and trees of items in a straightforward manner. CamlTemplate works well with mod_caml and mod_fastcgi, supports any ASCII-compatible encoding, including UTF-8, and includes optional support for multithreading.
| Tags | Internet Web Dynamic Content Text Processing General Software Development Libraries |
|---|---|
| Licenses | GPL |
| Operating Systems | OS Independent |
| Implementation | OCaml |
Recent releases


Changes: This release cleans up the code and the build system.


Changes: This is the first stable release. It fixes several bugs and includes a FastCGI example.


Changes: This release fixes a bug that caused a compile error when thread support was enabled.


Changes: This release adds a change in the line continuation syntax, better integration with GODI, and clarification of some passages in the manual. OCaml 3.07 is now required.


Changes: This release included minor improvements in the API and in the handling of whitespace in templates, some source code cleanups, and a few bug fixes. The library was also packaged for GODI.