def process_xml(self, xml):
root = objectify.fromstring(xml)<EOL>self.message_identifier = str(<EOL>root.imsx_POXHeader.imsx_POXRequestHeaderInfo.<EOL>imsx_messageIdentifier)<EOL>try:<EOL><INDENT>result = root.imsx_POXBody.replaceResultRequest<EOL>self.operation = REPLACE_REQUEST<EOL>self.lis_result_sourcedid = result.resultRecord.sourcedGUID.sourcedId<EOL>self.score = str(result.resultRecord.result.<EOL>resultScore.textString)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>result = root.imsx_POXBody.deleteResultRequest<EOL>self.operation = DELETE_REQUEST<EOL>self.lis_result_sourcedid = result.resultRecord.sourcedGUID.sourcedId<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>result = root.imsx_POXBody.readResultRequest<EOL>self.operation = READ_REQUEST<EOL>self.lis_result_sourcedid = result.resultRecord.sourcedGUID.sourcedId<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT>
Parse Outcome Request data from XML.