From: han.holl@... (Han Holl) Date: 2003-04-16T20:11:05+09:00 Subject: Libxml SAX parser? Hello, I need to read XML documents from an open network socket. Rexml's Document.parse_stream works fine, but is a tad slow for this application. I installed libxml, but while there is a wrapper for the SAX parser, I haven't found a way to set the callbacks. This limits it's usefulness severly. It isn't in the TODO file either. Have I missed something here ? None if the DOM parsers seem to have an option: Stop when you have a valid (complete) document, which would be just what I need. Any suggestions ? (apart from don't use XML). Cheers, Han Holl