From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 8080BBB81 for ; Tue, 6 Dec 2005 11:56:26 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jB6AuQQ4026577 for ; Tue, 6 Dec 2005 11:56:26 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA05308 for ; Tue, 6 Dec 2005 11:56:25 +0100 (MET) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jB6AuP7S027986 for ; Tue, 6 Dec 2005 11:56:25 +0100 Received: from di.ens.fr (di.ens.fr [129.199.99.1]) by nef2.ens.fr (8.13.2/1.01.28121999) with ESMTP id jB6AuOKX020396 ; Tue, 6 Dec 2005 11:56:24 +0100 (CET) X-Envelope-To: caml-list@inria.fr Received: from [129.199.97.184] (frisch@dhcp184.dmi.ens.fr [129.199.97.184]) by di.ens.fr (8.12.9/jb-1.1) id jB6AuE67021436 ; Tue, 6 Dec 2005 11:56:15 +0100 (MET) Message-ID: <43956D0D.2080107@inria.fr> Date: Tue, 06 Dec 2005 11:50:53 +0100 From: Alain Frisch User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Rendl Cc: caml-list@inria.fr Subject: Re: [Caml-list] problem using xml-light lib References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.10 (nef2.ens.fr [129.199.96.32]); Tue, 06 Dec 2005 11:56:24 +0100 (CET) X-Miltered: at nez-perce with ID 43956E5A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43956E59.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; frisch:01 frisch:01 caml-list:01 lib:01 ocaml:01 toplevel:01 topfind:01 wrote:01 undefined:01 parse:02 alain:03 alain:03 module:03 let:03 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Andrea Rendl wrote: > Hi everyone, > > I am trying to use the xml-light library with ocaml but cannot load the > according module Xml and XmlParser respectively, neither on command line > nor in an .ml file: > > # let x = Xml.parse_file "test.xml";; > Reference to undefined global `Xml' In the toplevel, if xml-light is findlib-installed, you must do: #use "topfind";; #require "xml-light";; -- Alain