#NEWLINE# def _extract_citing_pmcids( self , page ) : #NEWLINE# #INDENT# if ( not ( 'PubMedToPMCcitingformSET' in page ) ) : #NEWLINE# #INDENT# raise ProviderContentMalformedError ( ) #NEWLINE# #UNINDENT# dict_of_keylists = { #NEWLINE# #INDENT# 'pubmed:pmc_citations' : [ 'PubMedToPMCcitingformSET' , 'REFORM' ] , #NEWLINE# #UNINDENT# } #NEWLINE# ( doc , lookup_function ) = provider . _get_doc_from_xml ( page ) #NEWLINE# try : #NEWLINE# #INDENT# pmcid_doms = doc . getElementsByTagName ( 'PMCID' ) #NEWLINE# pmcids = [ pmcid_dom . firstChild . data for pmcid_dom in pmcid_doms ] #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# logger . warning ( ( '%20s no PMCID xml tags for %s' % ( self . provider_name , id ) ) ) #NEWLINE# pmcids = [ ] #NEWLINE# #UNINDENT# return pmcids