Hi Cafe.
I'm writing a library which will be parsing XML data from a web API. I'm fairly well versed at this point in parsing JSON (aeson being my library of choice). For XML, I like the API of xml-enumerator over hxt because it appears to be nice and simple .The problem is that the example in the documentation isn't really sufficient for me to get a grasp of how to traverse XML and parse elements with multiple child nodes into a record.
My first question: Am I barking up the wrong tree using xml-enumerator for anything beyond fairly flat, basic XML? If not, can anyone direct me to some good code samples using xml-enumerator to parse more complicated data?
If I am indeed barking up the wrong tree, what would you all suggest?