I would like to write code to enable importing data to and fro from a Haskell data structure. It makes sense to have some XSD or so that specifies how the XML should be structured. The HDS is already in place. I have been looking into hte HXT library and I think it could be used for this job. However, I am not familiar (yet) with Arrows and the like. Also the use of picklers is new to me. It would help me a lot if someone has a neat example of how coversion between XML and some Haskell data structure can be implemented in het HXT-style.Do such examples exist? Where can I find them?
For those interested: Here is the Haskell Data Structure: https://sourceforge.net/p/ampersand/code/HEAD/tree/trunk/src/lib/Database/Design/Ampersand/Core/ParseTree.hs
Cheers & Thanks for reading!
Han Joosten