def get_creators(self, attribute='<STR_LIT>'):
if '<STR_LIT>' in self.xml:<EOL><INDENT>if isinstance(self.xml['<STR_LIT>']['<STR_LIT>'], list):<EOL><INDENT>return [c[attribute] for c in self.xml['<STR_LIT>']['<STR_LIT>']]<EOL><DEDENT>else:<EOL><INDENT>return self.xml['<STR_LIT>']['<STR_LIT>'][attribute]<EOL><DEDENT><DEDENT>return None<EOL>
Get DataCite creators.