def __setImports(self, schema):
for ns,val in list(schema.imports.items()): <EOL><INDENT>if ns in self._imports:<EOL><INDENT>schema.addImportSchema(self._imports[ns])<EOL><DEDENT><DEDENT>
Add dictionary of imports to schema instance.
           schema -- XMLSchema instance