PDA

View Full Version : Streaming via xmlHTTP to DOMDocument



someboddy
09-15-2010, 03:12 PM
I've noticed xmlHTTP has a property called "responseStream". Does that mean it can be used to stream the response I get from the webservice? This can be very useful to me, since I need to handle pretty large responses(the data can get to over 100MB in CSV form). I tried searching the internet, but couldn't find anything about streaming from xmlHTTP to DOMDocument(or anything else that can parse xml).

For some reason the webservice gives me an encoded response, so I need a streaming method that knows how to decode it, or that let me insert my own decoding, before it parses the xml.