mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
Fix for DS-4420 [Received] OpenAIREv4 XSLT Warning in Spring Boot
This commit is contained in:
@@ -608,7 +608,9 @@
|
|||||||
<!-- only consider elements with valid date types -->
|
<!-- only consider elements with valid date types -->
|
||||||
<xsl:if test="$dateType != ''">
|
<xsl:if test="$dateType != ''">
|
||||||
<datacite:date>
|
<datacite:date>
|
||||||
<xsl:attribute name="dateType" select="$dateType"/>
|
<xsl:attribute name="dateType">
|
||||||
|
<xsl:value-of select="$dateType"/>
|
||||||
|
</xsl:attribute>
|
||||||
<xsl:value-of select="./doc:element/doc:field[@name='value']/text()"/>
|
<xsl:value-of select="./doc:element/doc:field[@name='value']/text()"/>
|
||||||
</datacite:date>
|
</datacite:date>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
@@ -1534,4 +1536,4 @@
|
|||||||
<xsl:template match="text()|@*" mode="entity_author"/>
|
<xsl:template match="text()|@*" mode="entity_author"/>
|
||||||
<xsl:template match="text()|@*" mode="entity_funding"/>
|
<xsl:template match="text()|@*" mode="entity_funding"/>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
Reference in New Issue
Block a user