<div>Thanks to everyone who answered. HXML still seems to be the best for me. It is fast and it has good Arrow interface. It is also a small and simple library. I tried also HXT with this example:</div>
<div> </div>
<div><a href="http://www.haskell.org/haskellwiki/HXT#Getting_started:_Hello_world_examples">http://www.haskell.org/haskellwiki/HXT#Getting_started:_Hello_world_examples</a></div>
<div> </div>
<div>but it just died with out of memory. HXML just works. I have not tried the Light XML library because it doesn't provide Arrow interface. </div>
<div> </div>
<div>I updated HXML to use more stuff from the standard libraries. Now I can use the syntax sugar for arrows with it. Is the library maintained? Should I send a patch to someone?</div>
<div> </div>
<div>Best Regards,</div>
<div> Krasimir</div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Oct 23, 2008 at 10:26 PM, Krasimir Angelov <span dir="ltr"><<a href="mailto:kr.angelov@gmail.com">kr.angelov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi,</div>
<div> </div>
<div>Does some one have made performance tests on the different XML libraries for Haskell? I have a 20MB xml file that I want to read. I remember from my earlier experiments (years ago) that all libraries were too slow and were consuming too much memory. I hoped that this situation had changed but maybe not. I looked at HaXML, libxml, HXML and HXT. HaXML eats a lot of memory and is still very slow. libxml is unfinished binding to the C library. Currently it only allows to create documents. HXML seems to be very promising. It works fast and it doesn't eat memory. Unfortunately it is that it seems to be rather old. It uses its own Arrow and Tree libraries instead of the standard libraries. I have not jumped into HXT yet because it seems to be very large library. Could someone recomend which one is the state of the art?</div>
<div> </div>
<div>Best Regards,</div>
<div> Krasimir</div><font color="#888888">
<div> </div></font></blockquote></div><br>