<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>&nbsp;</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>&nbsp;</div>
<div>but it just died with out of memory. HXML just works. I have not tried the Light XML library because it doesn&#39;t provide Arrow interface. </div>
<div>&nbsp;</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>&nbsp;</div>
<div>Best Regards,</div>
<div>&nbsp; Krasimir</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Thu, Oct 23, 2008 at 10:26 PM, Krasimir Angelov <span dir="ltr">&lt;<a href="mailto:kr.angelov@gmail.com">kr.angelov@gmail.com</a>&gt;</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>&nbsp;</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&nbsp;HXT.&nbsp;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&#39;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>