[Haskell-beginners] Need help with HXT

Michael Orlitzky michael at orlitzky.com
Thu Feb 20 18:49:18 UTC 2014


On 02/16/2014 09:34 AM, Philippe Sismondi wrote:
> 
> Attribute list
> used for storing option lists and features of DTD parts
> 
> So, I am clearly missing something - which, as usual, is probably my
> fault. What I am missing is: what goes in the attribute list for e.g.
> withCurl?
> 

I can't be sure, but the 'Attributes' type is a list of 2-tuples that
contain... something. I would try the empty list and see what happens.
For example,

  readDocument [ withCurl [] ] "http://example.com/some.xml"



More information about the Beginners mailing list