
7 Aug
2009
7 Aug
'09
6:29 a.m.
On Fri, Aug 7, 2009 at 12:05, John Lask
the paper:
Scripting XML with Generic Haskell Frank Atanassow, Dave Clarke and Johan Jeuring October 14, 2003
describes a translation from XML Schema to Haskell data types (like dtd2haskell) in generic haskell, I believe that the code for the tool described may also be available, how hard it would be to migrate over to vanilla haskell+generics is another question....
It looks like this almost might work in EMGM. They use a Label in addition to all the other representation structure elements. EMGM doesn't have a Label, but it might be useful to add it... With any needed changes such as the Label done, migrating this Generic Haskell code to EMGM would not be difficult. Sean