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 OAA27007; Sat, 28 Feb 2004 14:44:29 +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 OAA27899 for ; Sat, 28 Feb 2004 14:44:27 +0100 (MET) Received: from mwinf0303.wanadoo.fr (smtp3.wanadoo.fr [193.252.22.28]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i1SDiWIq004573 for ; Sat, 28 Feb 2004 14:44:33 +0100 Received: from morgana (ARennes-303-1-6-136.w80-13.abo.wanadoo.fr [80.13.129.136]) by mwinf0303.wanadoo.fr (SMTP Server) with ESMTP id BAF06500093C for ; Sat, 28 Feb 2004 14:44:26 +0100 (CET) Received: from david by morgana with local (Exim 4.30) id 1Ax4lV-0000Ya-Gg for caml-list@inria.fr; Sat, 28 Feb 2004 14:44:25 +0100 To: caml-list@inria.fr Subject: [Caml-list] Looking for OCaml code to load & save XML files From: David MENTRE Organization: none Date: Sat, 28 Feb 2004 14:44:25 +0100 Message-ID: <87y8qnnwsm.fsf@linux-france.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; dmentre:01 schema:01 gpl:01 ad-hoc:01 dmentre:01 ocaml:01 ocaml:01 mentre:01 mentre:01 transform:02 backward:02 backward:02 library:03 data:03 loading:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I'm looking for OCaml code to manipulate XML files. More specifically, I'm looking for code that can: 1. save and load XML files from/to OCaml data structure[1]; 2. validate the files against a DTD and maybe an XML schema; 3. (might be contradictory to 2) allow unknown XML tags to be skipped for forward and backward compatibility; 4. have a license compatible with GNU GPL. We intend to use XML as a backup format to save and restore a kind of database. In the long term, the XML files could be quite big (several tens of megabyte). Because the current program is still under development, I would like to provide forward and backward compatibility. More specifically, I would like to allow my program to skip unknown tags, so that I could enhance the database while still loading old and new bases. I think I might also use the library to transform from one version of my DTD to a new version, as the database format evolve. So I might need to write ad-hoc tools for XML transformation. I've found on the Hump a lot of XML libraries for OCaml so I ask on this mailing list advices from their authors and users on which one could fulfill my requirements. Moreover, I'm new to XML. So if somebody has advices on how to accomplish my goals, I would be pleased to hear them. Many thanks in advance, Yours, david -- David Mentré ------------------- 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