Skip to content

Commit

Permalink
#541 Fixed single dbt-id import of objects with relatedItem (and mods…
Browse files Browse the repository at this point in the history
…:identifier[type='urn'])
  • Loading branch information
Possommi committed May 7, 2024
1 parent 63deaa0 commit 7461f4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/src/main/resources/xsl/import/dbt2mods.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<xsl:value-of select="./@xlink:type"/>
</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="mods:genre[contains(@authorityURI,'mir_genres')][1]"/>
<xsl:apply-templates select="mods:genre[contains(@authorityURI, 'mir_genres')][1]"/>
<!-- Open Access omitted -->
<xsl:apply-templates select="mods:titleInfo"/>
<!-- omitting "conference" -> mods:name[@type='conference']/mods:namePart, seemingly not in DBT data -->
Expand All @@ -80,9 +80,9 @@
<xsl:apply-templates select="mods:originInfo[@eventType='creation']"/>

<!-- only using doi, issn and urn but from DBT also come at least: zdbib, oclc and more-->
<xsl:apply-templates select="mods:identifier[@type='doi']"/>
<xsl:apply-templates select="mods:identifier[@type='issn']"/>
<xsl:apply-templates select="mods:identifier[@type='urn']"/>
<xsl:copy-of select="mods:identifier[@type='doi']"/>
<xsl:copy-of select="mods:identifier[@type='issn']"/>
<xsl:copy-of select="mods:identifier[@type='urn']"/>

<!-- omitting mods:location with "Library shelfmark -> mods:shelfLocator" and "WWW URL -> mods:url -->
<xsl:apply-templates select="mods:subject"/>
Expand Down

0 comments on commit 7461f4c

Please # to comment.