[Haskell-cafe] XML <--> Haskell Data Structure using HXT

Han Joosten han.joosten.han at gmail.com
Thu Sep 11 11:57:48 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140911/191894db/attachment.html>


More information about the Haskell-Cafe mailing list