Tyxml's Homepage

Tyxml is a library that makes it almost impossible for your OCaml programs to generate wrong XML ouput, using static typing.

Modules exist for XHTML1, HTML5 and SVG.

Tyxml also defines pretty printers for these types.