13.8.2 IncrementalParser Objects

Instances of IncrementalParser offer the following additional methods:

feed (data)
Process a chunk of data.

close ()
Assume the end of the document. That will check well-formedness conditions that can be checked only at the end, invoke handlers, and may clean up resources allocated during parsing.

reset ()
This method is called after close has been called to reset the parser so that it is ready to parse new documents. The results of calling parse or feed after close without calling reset are undefined."""


See About this document... for information on suggesting changes.