<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I've used HaXml's SAX parser to parse huge XML files.  It is surprising that HXT doesn't seem to have a SAX parser as I understand that it is the successor to HaXml.   DOM style parsing won't work with huge files.<div><br></div><div><a href="http://hackage.haskell.org/packages/archive/HaXml/1.19/doc/html/Text-XML-HaXml-SAX.html">http://hackage.haskell.org/packages/archive/HaXml/1.19/doc/html/Text-XML-HaXml-SAX.html</a></div><div><br><div><div>On Oct 23, 2008, at 11:38 PM, Hugo Pacheco wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">I remember that HaXML has also a lazy XML parser. maybe if you just need to use some specific information stored in your XML file you can earn some time/memory with it.<div>From my experience, HXT seems faster.</div></span><br class="Apple-interchange-newline"></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>_____________</div><div>David F. Place</div><div><a href="mailto:d@vidplace.com">d@vidplace.com</a></div><div><br></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>