[libxml-devel] Sax-Parser: Reading not from file

Todd Fisher todd.fisher at gmail.com
Fri Dec 7 19:24:49 EST 2007


It doesn't look like it's supported.  It could be we'd have to use
xmlParseChunk.  It shouldn't be too hard the tricky part would be how to
expose that feature in a easy to use ruby API...

On Dec 7, 2007 4:30 AM, Jochen Topf <jochen at remote.org> wrote:

> Hi!
>
> I have some rather large XML files which I want to read with the SAX
> parser. Unfortunately it can only read from files or strings, not from
> a Ruby IO stream or so. I want to pipe in the XML file directly from
> a process decompressing the file or use some Ruby lib to do the
> decompression on the fly.
>
> Any suggestions?
>
> Jochen
> --
> Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/ +49-721-388298
>
> _______________________________________________
> libxml-devel mailing list
> libxml-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/libxml-devel/attachments/20071207/d07da310/attachment.html 


More information about the libxml-devel mailing list