code: def import_schema(self, definitions, d):
          
          if not definitions.types:
              root = Element("types", ns=wsdlns)
              definitions.root.insert(root)
              types = Types(root, definitions)
              definitions.types.append(types)
          else:
              types = definitions.types[-1]
          types.root.append(d.root)
          log.debug("imported (XSD):\n%s", d.root)
docs: Import schema as <types/> content.