Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
XML data binder for Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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

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:


Richard Jones
Red Hat