
31 May
2006
31 May
'06
5:47 a.m.
"S. Alexander Jacobson"
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