From: Basile STARYNKEVITCH <basile@starynkevitch.net>
To: caml-list@inria.fr
Subject: [Caml-list] parsing XML configuration file
Date: Tue, 3 Dec 2002 15:56:08 +0100 [thread overview]
Message-ID: <15852.50696.988643.235558@hector.lesours> (raw)
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: basile<at>starynkevitch<dot>net
alias: basile<at>tunes<dot>org
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
next reply other threads:[~2002-12-03 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-03 14:56 Basile STARYNKEVITCH [this message]
2002-12-03 16:56 ` Mike Lin
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=15852.50696.988643.235558@hector.lesours \
--to=basile@starynkevitch.net \
--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