
9 Feb
2013
9 Feb
'13
3:30 p.m.
Mateusz Kowalczyk
I don't know about xml-conduit but I know that such thing is possible in HXT. See the `Modifying a Node' section at [1] for a trivial example. You probably will have to read the whole page to somewhat understand what's going on though.
[1] - http://adit.io/posts/2012-04-14-working_with_HTML_in_haskell.html
Thanks for the tip, which looks really promising. The problem is that I cannot get large xml files to load with HXT. I tried a 24mb file and it ran out of memory, whereas with xml-conduit it took 15 seconds to load. Is there something I'm missing? Grant