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 PAA02360; Tue, 3 Dec 2002 15:56:14 +0100 (MET) 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 PAA02123 for ; Tue, 3 Dec 2002 15:56:13 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from kraid.nerim.net (kraid.nerim.net [62.4.16.95]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gB3EuC128180 for ; Tue, 3 Dec 2002 15:56:12 +0100 (MET) Received: from hector.lesours (lesours.starynkevitch.net [80.65.224.217]) by kraid.nerim.net (Postfix) with ESMTP id 0011B40F6D for ; Tue, 3 Dec 2002 15:45:23 +0100 (CET) Received: from basile by hector.lesours with local (Exim 3.36 #1 (Debian)) id 18JET5-0002Cm-00 for ; Tue, 03 Dec 2002 15:56:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <15852.50696.988643.235558@hector.lesours> Date: Tue, 3 Dec 2002 15:56:08 +0100 To: caml-list@inria.fr Subject: [Caml-list] parsing XML configuration file X-Mailer: VM 7.07 under Emacs 21.2.2 From: Basile STARYNKEVITCH Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dear All I'm coding a program (the POESIA [opensource content filter] monitor - see www.poesia-filter.org) whose configuration file is an XML file. The choice of an XML syntax is (in part) "political", because XML is a fancy buzzword and might attract some people. Actually, I could change it. The configuration file is a shallow tree (a bit like Apache configuration [which I know is not XML]) In XML parlance, the DTD or Schema of the parsed XML file is fixed by me (it mimicks all the configuration bell & whistle I need), but of course I may need to evolve it. I'm currently using PXP for that purpose, but I might be wrong. Should I consider switching to other Ocaml XML parsers (in particular yaxpo) to parse such a file (whose DTD is fixed by me, and which is mostly a shallow tree, not a recursive one..). Yes I know my question is a bit vague, but I beg for advice. Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet alias: basiletunesorg 8, rue de la Faïencerie, 92340 Bourg La Reine, France ------------------- 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