Skip to content

Commit

Permalink
uketd_dc.xsl: also expose access-status if embargo or restricted
Browse files Browse the repository at this point in the history
  • Loading branch information
amgciadev committed Aug 3, 2023
1 parent 291afa7 commit 4b40872
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dspace/config/crosswalks/oai/metadataFormats/uketd_dc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@
<!-- <dc:identifier xsi:type="dcterms:URI"><xsl:value-of select="." /></dc:identifier> -->
</xsl:for-each>

<!-- ******* Check access-status information to determine the item's access status ******* -->
<xsl:for-each select="doc:metadata/doc:element[@name='others']/doc:element[@name='access-status']/doc:field[@name='value']/text()">
<!-- Add access status information for embargo or restricted status only in uketdterms:embargotype -->
<xsl:if test=".='restricted' or .='embargo'">
<uketdterms:embargotype><xsl:value-of select="." /></uketdterms:embargotype>
</xsl:if>
</xsl:for-each>

<!-- ******* Check access-status embargo information for embargoed content associated with this item ******* -->
<xsl:for-each select="doc:metadata/doc:element[@name='others']/doc:element[@name='access-status']/doc:field[@name='embargo']/text()">
<!-- Add embargo information -->
Expand Down

0 comments on commit 4b40872

Please sign in to comment.