def parse(self, elt, ps, **kw):
self.setMemberTypeCodes()<EOL>(nsuri,typeName) = self.checkname(elt, ps)<EOL>for indx in range(len(self.memberTypeCodes)):<EOL><INDENT>typecode = self.memberTypeCodes[indx]<EOL>try:<EOL><INDENT>pyobj = typecode.parse(elt, ps)<EOL><DEDENT>except ParseException as ex:<EOL><INDENT>continue<EOL><DEDENT>except Exception as ex:<EOL><INDENT>continue<EOL><DEDENT>if indx > <NUM_LIT:0>:<EOL><INDENT>self.memberTypeCodes.remove(typecode)<EOL>self.memberTypeCodes.insert(<NUM_LIT:0>, typecode)<EOL><DEDENT>break<EOL><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT>return pyobj<EOL>
attempt to parse sequentially.  No way to know ahead of time
        what this instance represents.  Must be simple type so it can
        not have attributes nor children, so this isn't too bad.