- error request: oai_datacite.xslt: call of the DOI identifier was incorrect

This commit is contained in:
Arno Kaimbacher 2021-05-31 13:05:55 +02:00
parent b10ee96b43
commit 5c49f899e5

View File

@ -46,7 +46,7 @@
<datacentreSymbol>RDR.GBA</datacentreSymbol> --> <datacentreSymbol>RDR.GBA</datacentreSymbol> -->
<xsl:choose> <xsl:choose>
<xsl:when test="Identifier"> <xsl:when test="Identifier">
<xsl:apply-templates name="Identifier" mode="oai_datacite" /> <xsl:apply-templates select="Identifier" mode="oai_datacite" />
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<identifier> <identifier>
@ -229,7 +229,10 @@
<xsl:template match="Identifier" mode="oai_datacite" <xsl:template match="Identifier" mode="oai_datacite"
xmlns="http://datacite.org/schema/kernel-4"> xmlns="http://datacite.org/schema/kernel-4">
<identifier identifierType="DOI"> <identifier>
<xsl:attribute name="identifierType">
<xsl:text>DOI</xsl:text>
</xsl:attribute>
<xsl:value-of select="@Value" /> <xsl:value-of select="@Value" />
</identifier> </identifier>
</xsl:template> </xsl:template>