<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/09bb8b97b68803105f5c7e69cace4d19"
  from="Basile STARYNKEVITCH &lt;basile@s...&gt;"
  author="Basile STARYNKEVITCH"
  date="2002-12-03T14:56:14"
  subject="[Caml-list] parsing XML configuration file"
  prev="2002/12/58c00de76d5c27e4df32dd395fe4a3a5"
  next="2002/12/0e39279b83c2eff49d6e78d3e3825c0a"
  next-in-thread="2002/12/79cbcf817e242862f14b72a01861fd52"
  prev-thread="2002/12/5d66a1963f1b171240f82ba50076fc0a"
  next-thread="2002/12/ae67efc807f684a48e45227aca93f839"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] parsing XML configuration file">
<msg 
  url="2002/12/09bb8b97b68803105f5c7e69cace4d19"
  from="Basile STARYNKEVITCH &lt;basile@s...&gt;"
  author="Basile STARYNKEVITCH"
  date="2002-12-03T14:56:14"
  subject="[Caml-list] parsing XML configuration file">
<msg 
  url="2002/12/79cbcf817e242862f14b72a01861fd52"
  from="Mike Lin &lt;mikelin@M...&gt;"
  author="Mike Lin"
  date="2002-12-03T16:56:25"
  subject="Re: [Caml-list] parsing XML configuration file">
</msg>
</msg>
</thread>

<contents>
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 &amp; 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&lt;at&gt;starynkevitch&lt;dot&gt;net 
alias: basile&lt;at&gt;tunes&lt;dot&gt;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

</contents>

</message>

