Skip to content

Commit

Permalink
MW / DCAT / Add adms licence type in LicenseDocument. #952
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre committed Jan 31, 2025
1 parent a52b5ad commit c22d127
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,22 +160,23 @@
<xsl:if test="$euDcatLicense != ''">
<dct:license>
<dct:LicenseDocument rdf:about="{$euDcatLicense/@rdf:about}">
<xsl:for-each select="$admsLicenceTypes[@key = $httpUriInAnchorOrText]">
<dct:type rdf:resource="{.}"/>
</xsl:for-each>
<!--<xsl:copy-of select="$euDcatLicense/(skos:prefLabel[@xml:lang = $languages/@iso2code]
|skos:exactMatch)"
copy-namespaces="no"/>-->
</dct:LicenseDocument>
</dct:license>
</xsl:if>

<xsl:for-each select="$admsLicenceTypes[@key = $httpUriInAnchorOrText]">
<dct:license>
<dct:LicenseDocument rdf:about="{.}"/>
</dct:license>
</xsl:for-each>
</xsl:when>
<xsl:when test="$httpUriInAnchorOrText != ''">
<dct:license>
<dct:LicenseDocument rdf:about="{$httpUriInAnchorOrText}"/>
<dct:LicenseDocument rdf:about="{$httpUriInAnchorOrText}">
<xsl:for-each select="$admsLicenceTypes[@key = $httpUriInAnchorOrText]">
<dct:type rdf:resource="{.}"/>
</xsl:for-each>
</dct:LicenseDocument>
</dct:license>
</xsl:when>
<xsl:otherwise>
Expand Down

0 comments on commit c22d127

Please sign in to comment.