def parse(self, source): import saxutils source = saxutils.prepare_input_source(source) self.prepareParser(source) file = source.getByteStream() buffer = file.read(self._bufsize) while buffer != "": self.feed(buffer) buffer = file.read(self._bufsize) self.close()
"""An XML Reader is the SAX 2 name for an XML parser. XML Parsers
"""An XML Reader is the SAX 2 name for an XML parser. XML Parsers