def get_description(self, description_type='<STR_LIT>'):
if '<STR_LIT>' in self.xml:<EOL><INDENT>if isinstance(self.xml['<STR_LIT>']['<STR_LIT:description>'], list):<EOL><INDENT>for description in self.xml['<STR_LIT>']['<STR_LIT:description>']:<EOL><INDENT>if description_type in description:<EOL><INDENT>return description[description_type]<EOL><DEDENT><DEDENT><DEDENT>elif isinstance(self.xml['<STR_LIT>']['<STR_LIT:description>'], dict):<EOL><INDENT>description = self.xml['<STR_LIT>']['<STR_LIT:description>']<EOL>if description_type in description:<EOL><INDENT>return description[description_type]<EOL><DEDENT>elif len(description) == <NUM_LIT:1>:<EOL><INDENT>return description.values()[<NUM_LIT:0>]<EOL><DEDENT><DEDENT><DEDENT>return None<EOL>
Get DataCite description.