def __init__(self, schdoc): from amara import bindery dispatcher.__init__(self) self.model_document = bindery.parse(schdoc) self.model_document.xml_model.prefixes = top_namespaces(self.model_document) self.rules = [] self.setup_model() return
def __init__(self, orig_wikibase): dispatcher.__init__(self) self.orig_wikibase = orig_wikibase return