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
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:30)
From: Andrea Rendl <angee@g...>
Subject: problem using xml-light lib
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'

I followed the instructions in the README of xml-light and added the path to
the directory of the xmllight-files in the /etc/ocamlfind.conf and even
copied the xmllight files into the lib-directory of ocaml. My version of
ocaml is  3.08.4+CDuce.

I have no idea left, about what I could have done wrong or could have
forgotten. I am hoping for some help and ideas!

Thanks a lot in advance,