You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Feng Tian <ft...@cs.wisc.edu> on 2001/09/07 00:36:31 UTC

Parse a huge file, piece by piece

Hi,

I got a question when use XML4C.  I got a huge XML
file, and wonder if I can parse that file piece by
piece, that is, I want to do the following

////////////////////////////////////////////////////
char buffer[8192];

SAXParser p;

while(read(fd, buffer, 8192) > 0) {
	// Let p parse the chunck in buffer
}
////////////////////////////////////////////////////

Is this possible with XML4C?

Thanks.

Feng

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org