Skip to content

Commit

Permalink
[#212] Map personal name to family name
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Apr 24, 2023
1 parent 4e973da commit 476d27b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@
<xsl:call-template name="copy-and-apply"/>
</xsl:template>

<!-- Map personal name to family name -->
<xsl:template match="mods:name[@type='personal']/mods:namePart[not(@type)][1]">
<mods:namePart type="family">
<xsl:value-of select="."/>
</mods:namePart>
</xsl:template>

<xsl:template
match="mods:nameIdentifier[contains('|lsf|orcid|researcherid|gnd|scopus|',concat('|',@type,'|'))]|mods:nameIdentifier/@type">
<xsl:call-template name="copy-and-apply"/>
Expand Down

0 comments on commit 476d27b

Please sign in to comment.