Пример #1
0
 def __init__(self, egdoc):
     from amara import bindery
     self.model_document = bindery.parse(egdoc)
     self.model_document.xml_model.prefixes = top_namespaces(
         self.model_document)
     self.setup_model()
     return
Пример #2
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
Пример #3
0
 def __init__(self, egdoc):
     from amara import bindery
     self.model_document = bindery.parse(egdoc)
     self.model_document.xml_model.prefixes = top_namespaces(self.model_document)
     self.setup_model()
     return