[libxml-devel] SaxParser

Charlie Savage cfis at savagexi.com
Thu Jul 10 23:27:41 EDT 2008


Hi Todd,

> I'm wondering if there are any plans to support reading from a socket
> to send data through the SaxParser.   If I'm not mistaken it currently
> has a .string= and .filename = method.

If you mean opening up a document that resides at a URI via HTTP, then 
that would be easy since libxml supports it via the 
xmlCreateURLParserCtxt method.

As for more raw sockets, I'd just say use what's built into Ruby, 
download the data at the other end, and feed it into libxml.

Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/libxml-devel/attachments/20080710/5cae6421/attachment.bin>


More information about the libxml-devel mailing list