xml in fptools?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed May 31 05:47:03 EDT 2006


"S. Alexander Jacobson" <alex at alexjacobson.com> wrote:

> My bias is that we should be targetting conversion between XML and 
> application specific Haskell data types.  Speculatively, I imagine a 
> tool that generates Haskell datatypes and a parser from a RelaxNG 
> specification and another that generates a RelaxNG spec from a haskell
> datatype.

If you read "DTD" instead of "RelaxNG", then HaXml already gives you
this.  If you read "XML Schema", then Haifa (mostly) gives you this.  Is
RelaxNG sufficently widely used, that it would be worth spending some
effort on implementing that translation too?

Regards,
    Malcolm


More information about the Libraries mailing list