Xml Schema and deriving Haskell2Xml, was Re: haxr - marshalling of Variants in Records

Shae Matijs Erisson shae at ScannedInAvian.com
Mon Dec 5 14:43:02 EST 2005


Johannes Waldmann <waldmann at imn.htwk-leipzig.de> writes:

> If the Haskell app is the defining side,
> I'd love to just "derive Haskell2Xml" for my data,
> and then I'd want a "haskell2scheme" (not: DTD)
> so that the Java side can use a Schema->Java compiler (like xjc).
>
> On the other hand if I have to use a given XML schema,
> I want some "xhc" tool (Schema->Haskell).
>
> Perhaps some of these projects are already out there?

See the new XmlContent type/module in HaXml 1.14:
http://nhc98.blogspot.com/2005/10/unifying-haskell2xml-and-xml2haskell.html

Relax NG was prototyped in Haskell, not sure if that helps any.

HAIFA does some sort of Xml Schema work.
There's an HAIFA article in the first issue of The Monad.Reader:
http://www.haskell.org/hawiki/TheMonadReader/IssueOne
--
Shae Matijs Erisson - http://www.ScannedInAvian.com/ - Sockmonster once said:
You could switch out the unicycles for badgers, and the game would be the same.



More information about the Libraries mailing list