def parse(self, elt, ps):
self.checkname(elt, ps)<EOL>if len(_children(elt)) == <NUM_LIT:0>:<EOL><INDENT>href = _find_href(elt)<EOL>if not href:<EOL><INDENT>if self.nilled(elt, ps) is False:<EOL><INDENT>return []<EOL><DEDENT>if self.nillable is True: <EOL><INDENT>return Nilled<EOL><DEDENT>raise EvaluateException('<STR_LIT>',<EOL>ps.Backtrace(elt))<EOL><DEDENT>if href[<NUM_LIT:0>] != '<STR_LIT:#>':<EOL><INDENT>return ps.ResolveHREF(href, self)<EOL><DEDENT>elt = ps.FindLocalHREF(href, elt)<EOL>self.checktype(elt, ps)<EOL><DEDENT>if self.nilled(elt, ps): return Nilled<EOL>if len(_children(elt)) == <NUM_LIT:0>: return []<EOL>v = self.simple_value(elt, ps)<EOL>return self.text_to_data(v, elt, ps)<EOL>
elt -- the DOM element being parsed
        ps -- the ParsedSoap object.