Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
XML output
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-03-17 (12:53)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: XML output
On 17-03-2009, Rémi Dewitte <> wrote:
> I think I am going to start with the Printf module. I wonder how well it
> handles utf8 for example. And I'll have to write a kind of xml_encode
> function. I am pretty sure it has already be done somewhere !

Maybe it is a bit overkilling, but there is also ocamlduce.

See there:
(dev for ocaml 3.11:);a=summary

OCamlduce can also be used with Eliom/OCsigen.

AFAIK, using ocamlduce can help you to type check your output tree
directly within OCaml compiler...

Sylvain Le Gall