def checktype(self, elt, ps):
typeName = _find_type(elt)<EOL>if typeName is None or typeName == "<STR_LIT>":<EOL><INDENT>return (None,None)<EOL><DEDENT>prefix,typeName = SplitQName(typeName)<EOL>uri = ps.GetElementNSdict(elt).get(prefix)<EOL>if uri is None:<EOL><INDENT>raise EvaluateException('<STR_LIT>',<EOL>ps.Backtrace(elt))<EOL><DEDENT>parselist,errorlist = self.get_parse_and_errorlist()<EOL>if not parselist or(uri,typeName) in parselist or(_is_xsd_or_soap_ns(uri) and (None,typeName) in parselist):<EOL><INDENT>return (uri,typeName)<EOL><DEDENT>raise EvaluateException(<EOL>'<STR_LIT>' %(uri, typeName, errorlist), ps.Backtrace(elt))<EOL>
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.