[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-02-15 (21:56) |
From: | Richard Jones <rich@a...> |
Subject: | Re: [Caml-list] XML data binder for Ocaml |
On Fri, Feb 13, 2009 at 03:26:13PM -0800, O'Leary, John W wrote: > I'm looking for a tool that will take an XML data schema (.xsd) and > generate data bindings in Ocaml. In other words, I am seeking an Ocaml > equivalent to XSD (for C and C++) and JAXB (for Java). > > Googling didn't immediately turn up anything meeting the above > description. I'd very much appreciate any pointers. XSD as in the crazy-complicated quasi-standard used in SOAP, WSDL etc? I'm not sure you'll find any implementations in OCaml - it's hard enough to implement when you have a large team of people available to you. I did a very very partial implementation using CDuce as part of my SOAP client code for the Google AdWords API. It's not directly usable, but maybe you can have a look at it for inspiration anyway: http://merjis.com/developers/oc-soap Rich. -- Richard Jones Red Hat