def apply(self, root):
        if not self.filter.match(root, self.ns):
            return
        if self.exists(root):
            return
        node = Element('import', ns=self.xsdns)
        node.set('namespace', self.ns)
        if self.location is not None:
            node.set('schemaLocation', self.location)
        #log.debug('inserting: %s', node)
        root.insert(node)
Apply the import (rule) to the specified schema.
dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/lib/suds/xsd/doctor.py/Import.apply