On 2014-02-15, at 5:17 PM, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> wrote:

On 15/02/14 21:25, Philippe Sismondi wrote:
Greetings. I am trying to move some very old code from using HaXml to HXT. This is experimental; I have reasons which I think are not relevant to this post.

The website that purports to document HXT has broken links. This is Uwe Schmidt's website. I have emailed Dr. Schmidt. Meanwhile, can anyone elucidate the use of readDocument with its withCurl and withHTTP options? What may be passed in the list to e.g. withHTTP?

- Phil -
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


Why don't you use the documentation on Hackage? Here[1] is your

I tried to do that.

readDocument. It mentions the withCurl option and how to use it. As it
points out, the withCurl comes from hxt-curl and the relevant page is
at [2]. As you can see, it takes Attributes which is just a list of

Yes. The "relevant page is at [2]".  Clicking on that link takes me to a page that tells me this:

withCurl :: Attributes -> SysConfig

So now I want to know what about "Attributes" (above). If I click on the link to "Attributes" in the hackage documentation I discover this:

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?