Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/data/articles/reference-OpenAire2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns="http://namespace.openaire.eu/schema/oaire/"
xmlns:oaire="http://www.openarchives.org/OAI/2.0/oai_dc/"
xsi:schemaLocation="http://namespace.openaire.eu/schema/oaire/ https://www.openaire.eu/schema/repo-lit/4.0/openaire.xsd">
<datacite:identifier IdentifierType="URL">https://zbmath.org/6383667</datacite:identifier>
<datacite:identifier identifierType="URL">https://zbmath.org/6383667</datacite:identifier>
<datacite:alternateIdentifiers>
<datacite:alternateIdentifier alternateIdentifierType="DOI">10.4007/annals.2015.181.1.7</datacite:alternateIdentifier>
</datacite:alternateIdentifiers>
Expand Down
10 changes: 6 additions & 4 deletions xslt/articles/xslt-article-OpenAire2.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
<resource xsi:schemaLocation="http://namespace.openaire.eu/schema/oaire/ https://www.openaire.eu/schema/repo-lit/4.0/openaire.xsd">
<xsl:apply-templates select="root/zbmath_url"/>

<datacite:alternateIdentifiers>
<xsl:apply-templates select="root/links"/>
</datacite:alternateIdentifiers>
<xsl:if test="root/links/*">
<datacite:alternateIdentifiers>
<xsl:apply-templates select="root/links"/>
</datacite:alternateIdentifiers>
</xsl:if>

<datacite:creators>
<xsl:apply-templates select="root/contributors/authors"/>
Expand Down Expand Up @@ -115,7 +117,7 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or
</xsl:template>

<xsl:template match="zbmath_url">
<datacite:identifier IdentifierType="URL">
<datacite:identifier identifierType="URL">
<xsl:value-of select="."/>
</datacite:identifier>
</xsl:template>
Expand Down