docs: def checktype(self, elt, ps):
          '''See if the type of the "elt" element is what we're looking for.
          Return the element's type.
          Parameters:
              elt -- the DOM element being parsed
              ps -- the ParsedSoap object.
          '''
          typeName = _find_type(elt)
          if typeName is None or typeName == "":
              return (None,None)
  
          # Parse the QNAME.
          prefix,typeName = SplitQName(typeName)
          uri = ps.GetElementNSdict(elt).get(prefix)
          if uri is None:
              raise EvaluateException('Malformed type attribute (bad NS)',
                      ps.Backtrace(elt))
  
          #typeName = list[1]
          parselist,errorlist = self.get_parse_and_errorlist()
          if not parselist or \
          (uri,typeName) in parselist or \
          (_is_xsd_or_soap_ns(uri) and (None,typeName) in parselist):
              return (uri,typeName)
          raise EvaluateException(
                  'Type mismatch (%s namespace) (got %s wanted %s)' % \
                  (uri, typeName, errorlist), ps.Backtrace(elt))