Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <>
> 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 Archives:
Bug reports: FAQ:
Beginner's list: