<!-- CUSTOMIZEME: Modify below in order to choose which
datafield/subfield will be kept
and which will be dropped
Here only records with fields 980a
with values existing in KB 'example_oaimarc2xm_collID.kb' are kept.
(KB return value '_DELETE_' when value does not exist)
-->
<xsl:for-each select="//OAI-PMH:record[OAI-PMH:metadata/marc:record/marc:datafield[@tag='980' and (@ind1='' or @ind1=' ') and (@ind2='' or @ind2=' ') and (marc:subfield[@code='a'] and fn:format(marc:subfield[@code='a'], 'KB(example_oaimarc2xm_collID.kb)')!='_DELETE_')]">