[Haskell] Re: Current XML libraries status

David F. Place d at vidplace.com
Fri Oct 24 11:10:51 EDT 2008

I tried to use HXT's  readDocument with its  tagsoup option for my  
application.   I couldn't find a way to construct the operation that  
didn't run out of memory.   I'll attach some code using HaXml's  
saxParse so you can see what I want.   Is that easy to do in HXT?     
I simply want the text of <PMID> and <AbstractText> elements.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: phase1.hs
Type: application/octet-stream
Size: 531 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell/attachments/20081024/5ebf4e72/phase1.obj
-------------- next part --------------

Please feel free to bounce this to Haskell Cafe if you feel it is  
more appropriate.

On Oct 24, 2008, at 12:44 PM, Uwe Schmidt wrote:

> What you can try with HXT is to use the readDocument arrow
> with the option to use the tagsoup parser for parsing.
> Then HXT really does lazy input.

David F. Place
d at vidplace.com

More information about the Haskell mailing list