generate license only if a single value is present

This commit is contained in:
Michele Artini 2024-11-18 10:53:17 +01:00
parent c5b9a1592e
commit 4d3aef3a09
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@
</xsl:choose>
</oaf:accessrights>
<xsl:if test="//base_dc:rightsnorm">
<xsl:if test="//base_dc:rightsnorm and not(contains(//base_dc:rightsnorm, ';'))">
<oaf:license><xsl:value-of select="vocabulary:clean(//base_dc:rightsnorm, 'dnet:licenses')" /></oaf:license>
</xsl:if>