Re: [xml] reading data chunk by chunk



Mircea Gliga <mgliga integrasoft ro> writes:

Thanks for the response.
I've updated the code, I'm using xmlReaderForIO() with an IO read function.
When some data is received on the network, my function parse() is called, with
the data buffer and size.

Actually I think my suggestion was wrong: because of the way your
program is structured you want a push parse not a pull parser, so you
should use xmlCreatePushParserCtxt() and xmlParseChunk() instead of the
xmlReader functions.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]