English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Caml-list] Manipulating xml files withing ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-11-23 (19:03)
From: Jean Krivine <jean.krivine@g...>
Subject: Re: Re : [Caml-list] Manipulating xml files withing ocaml
In my case I just want to parse a small xml file and I don't need to
check for consistency so I think xml-light is fine enough. Thank you
for the references though

On Sun, Nov 23, 2008 at 10:54 AM, Dario Teixeira
<darioteixeira@yahoo.com> wrote:
>> PXP may be a better choice. It's harder at first, but
>> not much and
>> could be worth the five additionnal minutes required to
>> learn it. It
>> handles unicode and is still maintained (among others).
> Indeed.  If you find yourself routinely having to deal with XML,
> and if you need more advanced features such as validating very
> complex DTDs, than learning PXP is well worth it (Xml-light
> will choke on all but the simplest DTDs).
> If you are doing heavy manipulation of XML and wished for a
> more "native" support in the language, then take a look at
> Cduce/Ocamlduce.
> Finally, if you just need to parse a simple XML file and this
> is a one-off event, then Xml-light is indeed the simplest option.
> Cheers,
> Dario Teixeira