I've worked on this a few times in the past, an Aeson-like XML-to-Haskell data mapping, but never needed it badly enough to generalize out to a releasable library. I don't think anything exists out there today like this. Once it existed, so long as it was built atop probably Attoparsec, it'd be easy to get it into the pipes architecture, though.
Right now, your best bet might be to use one of the XML pickling libraries out there; there are a few and they all go by that terminology. There also exists some XML pickling work in hxt. Joseph Abrahamson — Sent from Mailbox for iPhone On Thu, Feb 6, 2014 at 10:33 AM, Rodlogic <[email protected]> wrote: > I have been using pipes-http for the past few days and I am now at a point > where I need to parse xml responses. I don't need validations and I don't > need to parse the XML into a DOM but instead would like to parse it directly > into my own data structures (a la what existing JSON parsers are doing in > Haskell). And of course, sane dependencies is also important. > Is there an existing lightweight xml parsing package that I could use with > pipes? If not, does it make sense to build one using pipes-parse? > I am somewhat new to Haskell, so any pointers are well appreciated. > thanks! > -- > You received this message because you are subscribed to the Google Groups > "Haskell Pipes" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. -- You received this message because you are subscribed to the Google Groups "Haskell Pipes" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
