Hello Antoine,

On Mon, Mar 31, 2008 at 3:23 PM, Antoine Latter <aslatter@gmail.com> wrote:
I've been looking into to this a bit myself, and have had trouble with
the fact that the XML descriptions of the protocol are extremely
C-centric.  As in, the union types defined in the XML are C-unions,
and I've seen a struct definition which uses padding-bytes to store
semantically useful data.

Both of which are fine things to do in C, but a bit tricky to map onto Haskell.

Maybe this Haskell package libxml [1] will be helpful for this.  The package provides bindings for the XML parser and toolkit for Gnome: libxml [2].

Hope this helps.
__
Donnie

1. http://hackage.haskell.org/cgi-bin/hackage-scripts/package/libxml-0.1
2. http://xmlsoft.org/