Skip to content

Commit a8d7310

Browse files
committed
MIR-1564 use mcrclassification:current-label-text
1 parent 3c3d56c commit a8d7310

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mir-module/src/main/resources/xslt/mets/mets-amd.xsl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@
6060
<xsl:variable name="licenseId"
6161
select="substring-after($entity/mycoreobject/metadata/def.modsContainer/modsContainer/mods:mods/mods:accessCondition[@type='use and reproduction']/@xlink:href, '#')" />
6262
<xsl:value-of
63-
select="(
64-
mcrclassification:label-text($CurrentLang, mcrclassification:category('mir_licenses', $licenseId)),
65-
mcrclassification:label-text($DefaultLang, mcrclassification:category('mir_licenses', $licenseId))
66-
)[1]" />
63+
select="mcrclassification:current-label-text(mcrclassification:category('mir_licenses', $licenseId))" />
6764
</xsl:when>
6865
<xsl:otherwise>
6966
<xsl:value-of select="$license" />

0 commit comments

Comments
 (0)