
5 Aug
2009
5 Aug
'09
3:49 p.m.
Hello all, I need a convenient tool to generate Haskell types from XML W3C Schema Definition (xsd) and vice versa - generate instances for Haskell ADT's to make corresponding XML. It is just the same that HaXml do with DTD. I need - using XSD - support for unicode - using xml-attributes as far as elements are very desirable - by my opinion TemplateHaskell for generate instances is prefferable than using DrIFT (which used in HaXml) - both possibilities is great of course - generation of xsd by Haskell type is a good feature also and so on... Does this tool exist? Do some articles / thoughts / standards / recomendations about correspondence between XML and Haskell ADT's exist? Best wishes, Dmitry