Version française
Home     About     Download     Resources     Contact us    
Browse thread
parseur XML validant
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Matías Giovannini <matias@k...>
Subject: Re: parseur XML validant
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
<http://www.jclark.com/xml/expat.html>, 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.