Hi Charlie,

  I guess what I'm wondering is how can the data from ruby be fed
into libxml-ruby SaxParser - when I only see 2 methods for passing
data, parser.string= and parser.filename= .  I must be missing
understanding.

Thanks,
Todd

2008/7/10 Charlie Savage <[EMAIL PROTECTED]>:
> 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
>
> _______________________________________________
> libxml-devel mailing list
> libxml-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel
>
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to