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.
Cheers,
--John
_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
I think you can try taking a look at two project:
http://www.galaxquery.org/
http://www.cduce.org/ocaml
I think they implement something close to what you want (I mean "close",
not "what you want" unfortunately). At least there is some code in it,
that deal with xsd.
Regards,
Sylvain Le Gall
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