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
[Caml-list] XML, XSL, eXcetera
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-07-04 (00:28)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] XML, XSL, eXcetera

Alexander V.Voinov wrote:
> Hi 
> From: Alessandro Baretta <alex@baretta.com>
> Subject: [Caml-list] XML, XSL, eXcetera
> Date: Thu, 04 Jul 2002 00:59:22 +0200
>>(And, is 
>>linking with C++ supported in O'Caml?)
> In which sense? Through `extern "C"' - of course, yes.
> Do you mean a more intelligent FFI to map C++ classes onto
> OCaml classes? (like what SWIG does for Python)

I knew C++ could be linked as 'extern "C"', but I'm not sure 
this would allow me to use a DOM XML parser, because, as far 
as I can see, this method only allows O'Caml code to call C 
functions compiled within C++ code. I wonder if this is 
enough to exploit such DOM parsers as Xerces of the Apache 

Then again, I just realized gdome2-xslt by Claudio Sacerdoti 
Coen might be all that I really need. I'll download it and 
take a good look at it.


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners