David Hubbard wrote:
Hi All,

Does anyone know if xerces has a pull parser where I can write code in a
loop pulling out the parsed xml rather than the Sax implementation?
You can try the "progressive" parsing APIs, which report SAX events incrementally. See:

SAX2XMLReader::parseFirst()
SAX2XMLReader::parseNext()

However, there is no control over the granularity of the parsing, so you should test to make sure what it produces will work for you. In general, the granularity is what you would get for SAX parsing.

Dave

Reply via email to