From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 1665BBBC4 for ; Tue, 17 Mar 2009 14:02:02 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcBACc8v0nZkrEEmWdsb2JhbACMfYhaAQEBAQEICwoHEa4FgQaPUQEEg3w X-IronPort-AV: E=Sophos;i="4.38,378,1233529200"; d="scan'208";a="36675054" Received: from web27004.mail.ukl.yahoo.com ([217.146.177.4]) by mail4-smtp-sop.national.inria.fr with SMTP; 17 Mar 2009 14:02:01 +0100 Received: (qmail 45499 invoked by uid 60001); 17 Mar 2009 13:02:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1237294920; bh=M/phTLVFiu6t1zwDKFn5Fle9hPoyWN5txThJkySPJes=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=R49PpeV98ET7oo3z4OeTZPWM+hUz2quW9pdDwlNby9UlnvcGncegv5TvX4EHO66AlEQL5exWp9dEu/4SDYY1Jpx+JEsOPpewTTG53oHkzwl5at2Fu1OQ/9nWWrbaKI3r3oVxCLZgehYEXgwuitau8/GtX+qhNcKPHgE139ySx8o= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4ScNyAjCzuV4Fere8l2fl7ZR9J83mi9yQQvHbthU7R/hEJgggtG5qBs9hBNIEGKkcFpJbCDjtJpscfpQX3/xqdXwtUapeGT10imJmmaDgmqZmeV5+PIbYkcpdPpondYRVTm/Y+WAWJFbzvi+vI1X5mnuLFrEnLa9+N5lZ/A1OYA=; Message-ID: <355065.54832.qm@web27004.mail.ukl.yahoo.com> X-YMail-OSG: DbjrmEQVM1kHgLOS8cjD.W3zqtqgWYd.zAWWXPBcU52NEI15jg2yiAG_XFqdGwyzzhFHeSHDs07WqwfD7AL.oD55cKkJ.rAGC_h9kE4WVQa5fcOIa3fPSIy_ZO87h_cyJKd0Nl7vcgPy5Nwp.57SrXdNcZRJPV7WmgZMj1HvhKeAsJvIURlDys7bUsMeuo5N.mD.BjVDwAKzpWJY3vYNxWqruA5gbl2Mlw-- Received: from [193.52.94.5] by web27004.mail.ukl.yahoo.com via HTTP; Tue, 17 Mar 2009 13:02:00 GMT X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.289.1 References: <2184b2340903170401m3c5ba0a5yd0daf37cf4c9ddbb@mail.gmail.com> Date: Tue, 17 Mar 2009 13:02:00 +0000 (GMT) From: Matthieu Wipliez Subject: Re : [Caml-list] Re: XML output To: Sylvain Le Gall , caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; matthieu:01 bunzli:01 cheers:01 matthieu:01 le-gall:01 printf:01 ocamlduce:01 cduce:01 ocaml:01 ocaml:01 ocamlduce:01 afaik:01 compiler:01 beginner's:01 bug:01 Yet another solution is Xmlm by Daniel B=FCnzli.=0A=0Ahttp://erratique.ch/s= oftware/xmlm=0A=0AThis is probably the easiest and lightweight solution: Xm= lm comes as a single module and its interface, and it's BSD so you can just= copy/paste it into your project.=0A=0ACheers,=0AMatthieu=0A=0A=0A=0A----- = Message d'origine ----=0A> De : Sylvain Le Gall =0A> = =C0 : caml-list@inria.fr=0A> Envoy=E9 le : Mardi, 17 Mars 2009, 13h53mn 30s= =0A> Objet : [Caml-list] Re: XML output=0A> =0A> On 17-03-2009, R=E9mi Dewi= tte wrote:=0A> >=0A> > I think I am going to start with the Printf module. = I wonder how well it=0A> > handles utf8 for example. And I'll have to write= a kind of xml_encode=0A> > function. I am pretty sure it has already be do= ne somewhere !=0A> >=0A> =0A> Maybe it is a bit overkilling, but there is a= lso ocamlduce.=0A> =0A> See there:=0A> http://www.cduce.org/ocaml=0A> (dev = for ocaml 3.11:)=0A> http://ocamlduce.forge.ocamlcore.org/=0A> http://git.o= camlcore.org/cgi-bin/gitweb.cgi?p=3Docamlduce/ocamlduce.git;a=3Dsummary=0A>= =0A> OCamlduce can also be used with Eliom/OCsigen.=0A> =0A> AFAIK, using = ocamlduce can help you to type check your output tree=0A> directly within O= Caml compiler...=0A> =0A> Regards=0A> Sylvain Le Gall=0A> =0A> ____________= ___________________________________=0A> Caml-list mailing list. Subscriptio= n management:=0A> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list= =0A> Archives: http://caml.inria.fr=0A> Beginner's list: http://groups.yaho= o.com/group/ocaml_beginners=0A> Bug reports: http://caml.inria.fr/bin/caml-= bugs=0A=0A=0A=0A