Skip to content

Commit 20930d1

Browse files
authored
MIR-1557 fix xMetaDissPlus-mapping for objects with more than one derivate (#1317)
1 parent d45c241 commit 20930d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mir-module/src/main/resources/xslt/mods2xMetaDissPlus.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@
328328
<xsl:call-template name="ddb_identifier" />
329329
<!-- Zugriffsrechte für das Archivobjekt -->
330330
<xsl:call-template name="rights">
331-
<xsl:with-param name="derivateID" select="structure/derobjects/derobject/@xlink:href" />
331+
<xsl:with-param name="derivateID" select="(structure/derobjects/derobject/@xlink:href)[1]" />
332332
</xsl:call-template>
333333
<!-- Lizenzangaben und Rechtehinweise für das Originalobjekt -->
334334
<xsl:if test="not(contains($MIR.xMetaDissPlus.disabledTemplates,'license'))">
335335
<xsl:call-template name="license">
336-
<xsl:with-param name="derivateID" select="structure/derobjects/derobject/@xlink:href" />
336+
<xsl:with-param name="derivateID" select="(structure/derobjects/derobject/@xlink:href)[1]" />
337337
</xsl:call-template>
338338
</xsl:if>
339339
</xsl:template>

0 commit comments

Comments
 (0)