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
problem using xml-light lib
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-12-06 (10:56)
From: Alain Frisch <Alain.Frisch@i...>
Subject: Re: [Caml-list] problem using xml-light lib
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