def checkname(self, elt, ps):
parselist,errorlist = self.get_parse_and_errorlist()<EOL>ns, name = _get_element_nsuri_name(elt)<EOL>if ns == SOAP.ENC:<EOL><INDENT>if parselist and(None, name) not in parselist and (ns, name) not in parselist:<EOL><INDENT>raise EvaluateException(<EOL>'<STR_LIT>' %(name, errorlist), ps.Backtrace(elt))<EOL><DEDENT>return (ns, name)<EOL><DEDENT>if self.nspname and ns != self.nspname:<EOL><INDENT>raise EvaluateException('<STR_LIT>' %(ns, self.nspname), ps.Backtrace(elt))<EOL><DEDENT>if self.pname and name != self.pname:<EOL><INDENT>raise EvaluateException('<STR_LIT>' %(name, self.pname), ps.Backtrace(elt))<EOL><DEDENT>return self.checktype(elt, ps)<EOL>
See if the name and 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.