From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA11983 for caml-redistribution; Fri, 7 May 1999 19:31:18 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA05409 for ; Fri, 7 May 1999 17:06:24 +0200 (MET DST) Received: from mail.nap.com.ar (mail.nap.com.ar [209.14.116.11]) by nez-perce.inria.fr (8.8.7/8.8.7) with SMTP id RAA00617 for ; Fri, 7 May 1999 17:06:20 +0200 (MET DST) Received: from [200.41.180.74] (HELO k-bell.com) by mail.nap.com.ar (Stalker SMTP Server 1.8b3) with ESMTP id S.0001338289 for ; Fri, 07 May 1999 12:06:18 -0300 Message-ID: <37330167.4C6E85E3@k-bell.com> Date: Fri, 07 May 1999 12:06:13 -0300 From: =?iso-8859-1?Q?Mat=EDas?= Giovannini Reply-To: matias@k-bell.com Organization: Script S.A. X-Mailer: Mozilla 4.5 (Macintosh; I; PPC) X-Accept-Language: en MIME-Version: 1.0 To: Caml List Subject: Re: parseur XML validant References: <3731A847.F9F36106@esiee.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: weis Sorry for writing in English, seb wrote: > > Bonjour, > > Nous sommes entrain d'écrire un parseur XML validant en OCaml avec > application > de feuille de style XSL. Pour ce projet, nous aurions besoin de > connaitre l'algorithme précis d'encodage / décodage en UTF16. > > Merci d'avance There are quite a few XML parsers around, but unfortunately most seem to be written in Java. There's also James Clarks's expat , a non-validating xml lexer/parser written in C. While it's not the prettiest code around, the code that manages UTF8/16 conversion is quite understandable. You may also want to take a look at the WC3 page. I hope this helps. Matías. -- Do I contradict myself? Very well, I contradict myself. I am large, I contain multitudes.