From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA20950; Thu, 4 Jul 2002 02:28:02 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 CAA21286 for ; Thu, 4 Jul 2002 02:28:02 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com (r-mi214-6a72.tin.it [62.211.4.72]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g640S0H17815 for ; Thu, 4 Jul 2002 02:28:01 +0200 (MET DST) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id 4EC1F2724D; Thu, 4 Jul 2002 02:34:23 +0200 (CEST) Message-ID: <3D23980F.8000105@baretta.com> Date: Thu, 04 Jul 2002 02:34:23 +0200 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: it, en MIME-Version: 1.0 To: "Alexander V.Voinov" Cc: caml-list@inria.fr Subject: Re: [Caml-list] XML, XSL, eXcetera References: <3D2381CA.5070600@baretta.com> <20020703.160228.97273057.avv@quasar.ipa.nw.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 project. 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. Alex ------------------- 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