def text_to_data(self, text, elt, ps):
prefix,localName = SplitQName(text)<EOL>nsdict = ps.GetElementNSdict(elt)<EOL>prefix = prefix or '<STR_LIT>'<EOL>try:<EOL><INDENT>namespaceURI = nsdict[prefix]<EOL><DEDENT>except KeyError as ex:<EOL><INDENT>raise EvaluateException('<STR_LIT>'%prefix,<EOL>ps.Backtrace(elt))<EOL><DEDENT>v = (namespaceURI,localName)<EOL>if self.pyclass is not None:<EOL><INDENT>return self.pyclass(v)    <EOL><DEDENT>return v<EOL>
convert text into typecode specific data.