Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: David MENTRE <dmentre@linux-france.org>
To: caml-list@inria.fr
Subject: [Caml-list] Looking for OCaml code to load & save XML files
Date: Sat, 28 Feb 2004 14:44:25 +0100	[thread overview]
Message-ID: <87y8qnnwsm.fsf@linux-france.org> (raw)

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é <dmentre@linux-france.org>

-------------------
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


             reply	other threads:[~2004-02-28 13:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28 13:44 David MENTRE [this message]
2004-02-28 15:24 ` Nicolas Cannasse
2004-02-28 15:38   ` Benjamin Geer
2004-02-28 15:44     ` Nicolas Cannasse
2004-02-28 18:50     ` Stefano Zacchiroli
2004-02-28 20:02       ` Giuseppe Castagna
2004-02-29 17:53       ` Claudio Sacerdoti Coen
2004-02-29 17:46   ` David MENTRE
2004-02-29 18:13     ` Nicolas Cannasse
2004-03-01  8:09       ` lehalle@miriad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y8qnnwsm.fsf@linux-france.org \
    --to=dmentre@linux-france.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox