示例#1
0
 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
示例#2
0
文件: moincms.py 项目: dpla/akara
 def __init__(self, orig_wikibase):
     dispatcher.__init__(self)
     self.orig_wikibase = orig_wikibase
     return