
Hmm, I just tried with a 112MB file and I ended up having to kill it after it chewed through 3GB of memory. That's rather worrying. Hopefully someone on cafe can point out whether it's an inherent issue with the package, a bug or whether we're just doing something wrong. On 09/02/13 15:30, grant wrote:
Mateusz Kowalczyk
writes: 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
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe