<?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="2006/02/810a676239033685940f34f8c4924ab8"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2006-02-28T15:47:56"
  subject="Re: [Caml-list] xml tree -- variant type tree"
  prev="2006/02/e04c8ab1b293d8f49f5190b5f9c16d87"
  next="2006/02/f59cbd9f9ad173f62257c0a2417724b6"
  prev-in-thread="2006/02/9be4a9513b06eceb470e19b33ee11f97"
  next-in-thread="2006/02/54236ddfa0181dd7019024f192ea7fdd"
  prev-thread="2006/02/14a9c4cad7029f82e8818777b3f1896f"
  next-thread="2006/03/fc201eb3f71302cddcd6cdeba8f38433"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="xml tree -- variant type tree">
<msg 
  url="2006/02/5a06bc8279f4c19275cafe9ac3e9a815"
  from="Hendrik Tews &lt;tews@t...&gt;"
  author="Hendrik Tews"
  date="2006-02-28T15:23:41"
  subject="xml tree -- variant type tree">
<msg 
  url="2006/02/e04c8ab1b293d8f49f5190b5f9c16d87"
  from="Michael Wohlwend &lt;micha-1@f...&gt;"
  author="Michael Wohlwend"
  date="2006-02-28T15:42:54"
  subject="Re: [Caml-list] xml tree -- variant type tree">
<msg 
  url="2006/02/9be4a9513b06eceb470e19b33ee11f97"
  from="Alain Frisch &lt;Alain.Frisch@i...&gt;"
  author="Alain Frisch"
  date="2006-02-28T15:52:40"
  subject="Re: [Caml-list] xml tree -- variant type tree">
</msg>
</msg>
<msg 
  url="2006/02/810a676239033685940f34f8c4924ab8"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2006-02-28T15:47:56"
  subject="Re: [Caml-list] xml tree -- variant type tree">
<msg 
  url="2006/02/54236ddfa0181dd7019024f192ea7fdd"
  from="Michael Wohlwend &lt;micha-1@f...&gt;"
  author="Michael Wohlwend"
  date="2006-02-28T15:56:56"
  subject="Re: [Caml-list] xml tree -- variant type tree">
<msg 
  url="2006/02/b7334ae50cf879e74b8b9faf0252e31b"
  from="Alain Frisch &lt;Alain.Frisch@i...&gt;"
  author="Alain Frisch"
  date="2006-02-28T16:24:49"
  subject="Re: [Caml-list] xml tree -- variant type tree">
<msg 
  url="2006/02/406082980351bed8ed58171fa77ef569"
  from="Michael Wohlwend &lt;micha-1@f...&gt;"
  author="Michael Wohlwend"
  date="2006-02-28T18:11:18"
  subject="Re: [Caml-list] xml tree -- variant type tree">
</msg>
</msg>
</msg>
</msg>
<msg 
  url="2006/02/6af59d175cbc1504e985c3969a204017"
  from="philip &lt;philip-f@w...&gt;"
  author="philip"
  date="2006-02-28T20:56:48"
  subject="Re: [Caml-list] xml tree -- variant type tree">
</msg>
</msg>
</thread>

<contents>
On Tue, Feb 28, 2006 at 04:23:39PM +0100, Hendrik Tews wrote:
&gt; I would like to read an XML file into an element of some variant
&gt; type, where each constructor corresponds to precisely one type of
&gt; xml nodes. Of course I would need to define the variant type
&gt; beforehand. But how to proceed then?

CDuce is a possibility.  It is tremendously powerful, and also quite
obscure to go along with it, but I wrote a nice SOAP/WSDL/XSI parser
using it.

IoXML is another: http://pauillac.inria.fr/~ddr/IoXML/index.html

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com

</contents>

</message>

