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=2.2 required=5.0 tests=AWL,DNS_FROM_RFC_POST, HTML_MESSAGE,SPF_NEUTRAL 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 CFAF7BBC4 for ; Tue, 17 Mar 2009 14:21:00 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlACANhAv0nRVdyuf2dsb2JhbACCIi+KLIgbPwEBCwkMBRMDrwmPVAEDAQODeQaFUQ X-IronPort-AV: E=Sophos;i="4.38,378,1233529200"; d="scan'208";a="36676781" Received: from mail-fx0-f174.google.com ([209.85.220.174]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Mar 2009 14:21:00 +0100 Received: by mail-fx0-f174.google.com with SMTP id 22so38808fxm.9 for ; Tue, 17 Mar 2009 06:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=bS2Wi/OdL2UZkeC6VUOTp1Jlvyl0ezs6+li5YKlyuow=; b=UvknqaTcwEQQLnp9jFt2TGAhhP9Wvrv4ubuF8bOH1BjgV7b+i9Brky/ppdRZm24pfz dZ6RgbUyj8+NZw+pK5Pe9PrGkByyiHfoydblBKCzF210BK8eZGH3WaJSmExjJLqL5hWi 9WDpoaWpK3l+oFNAf0QtNKpqIxnbVVbMO6cuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=RA69NTKEGykzFkZBwCKFG68xqhzj6ehrtYPZO5qYg5LD4/K21xe9Owp3Q6ru/xpUTx ic3ZkQ8fbQteccGB/Hht/oo03fhGvin8RoSkjaIMkeo0CuwyNHujk/63MItCPp/ivTXO sFvwNzhR8Ld1MUXvdd2xZCvO+8YkrpH8UIauE= MIME-Version: 1.0 Sender: remidewitte@gmail.com Received: by 10.223.109.199 with SMTP id k7mr12574fap.45.1237296059827; Tue, 17 Mar 2009 06:20:59 -0700 (PDT) In-Reply-To: <355065.54832.qm@web27004.mail.ukl.yahoo.com> References: <2184b2340903170401m3c5ba0a5yd0daf37cf4c9ddbb@mail.gmail.com> <355065.54832.qm@web27004.mail.ukl.yahoo.com> Date: Tue, 17 Mar 2009 14:20:59 +0100 X-Google-Sender-Auth: 179d2aea7b2c2b01 Message-ID: <2184b2340903170620h638acf8an2ac157abcef53175@mail.gmail.com> Subject: Re: Re : [Caml-list] Re: XML output From: =?UTF-8?Q?R=C3=A9mi_Dewitte?= To: Matthieu Wipliez Cc: Sylvain Le Gall , caml-list@inria.fr Content-Type: multipart/alternative; boundary=001636c5ab5b20c8eb046550709c X-Spam: no; 0.00; matthieu: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 beginner's:01 X-Attachments: cset="UTF-8" cset="UTF-8" --001636c5ab5b20c8eb046550709c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks every one ! I guess I have to pick the one now :) R=C3=A9mi On Tue, Mar 17, 2009 at 14:02, Matthieu Wipliez wrote: > > Yet another solution is Xmlm by Daniel B=C3=BCnzli. > > http://erratique.ch/software/xmlm > > This is probably the easiest and lightweight solution: Xmlm comes as a > single module and its interface, and it's BSD so you can just copy/paste = it > into your project. > > Cheers, > Matthieu > > > > ----- Message d'origine ---- > > De : Sylvain Le Gall > > =C3=80 : caml-list@inria.fr > > Envoy=C3=A9 le : Mardi, 17 Mars 2009, 13h53mn 30s > > Objet : [Caml-list] Re: XML output > > > > On 17-03-2009, R=C3=A9mi 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: > > http://www.cduce.org/ocaml > > (dev for ocaml 3.11:) > > http://ocamlduce.forge.ocamlcore.org/ > > > http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=3Docamlduce/ocamlduce.git;a= =3Dsummary > > > > OCamlduce can also be used with Eliom/OCsigen. > > > > AFAIK, using ocamlduce can help you to type check your output tree > > directly within OCaml compiler... > > > > Regards > > Sylvain Le Gall > > > > _______________________________________________ > > Caml-list mailing list. Subscription management: > > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > > Archives: http://caml.inria.fr > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > --001636c5ab5b20c8eb046550709c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks every one !

I guess I have to pick the one now :)

R=C3= =A9mi

On Tue, Mar 17, 2009 at 14:02, Matt= hieu Wipliez <mwi= pliez@yahoo.fr> wrote:

Yet another solution is Xmlm by Daniel B=C3=BCnzli.

http://erra= tique.ch/software/xmlm

This is probably the easiest and lightweight solution: Xmlm comes as a sing= le module and its interface, and it's BSD so you can just copy/paste it= into your project.

Cheers,
Matthieu



----- Message d'origine ----
> De : Sylvain Le Gall <sylvai= n@le-gall.net>
> =C3=80 : caml-list@inria.fr<= br> > Envoy=C3=A9 le : Mardi, 17 Mars 2009, 13h53mn 30s
> Objet : [Caml-list] Re: XML output
>
> On 17-03-2009, R=C3=A9mi 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 xm= l_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:
> http://www.cd= uce.org/ocaml
> (dev for ocaml 3.11:)
> ht= tp://ocamlduce.forge.ocamlcore.org/
> http://git.ocamlcore.org/cgi-bi= n/gitweb.cgi?p=3Docamlduce/ocamlduce.git;a=3Dsummary
>
> OCamlduce can also be used with Eliom/OCsigen.
>
> AFAIK, using ocamlduce can help you to type check your output tree
> directly within OCaml compiler...
>
> Regards
> Sylvain Le Gall
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives:
http://ca= ml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports:
http://caml.inria.fr/bin/caml-bugs





_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.in= ria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--001636c5ab5b20c8eb046550709c--