'Parse an XML document from a URL or an InputSource.'

def parse(self, source):

    source = saxutils.prepare_input_source(source)
    self._source = source
    self.reset()
    self._cont_handler.setDocumentLocator(ExpatLocator(self))
    xmlreader.IncrementalParser.parse(self, source)
