Skip to content

Commit

Permalink
Merge pull request #135 from MaRDI4NFDI/openAire-Articles-Fixes
Browse files Browse the repository at this point in the history
Open aire articles fixes
  • Loading branch information
Mazztok45 authored Dec 13, 2024
2 parents 0959b78 + fea4ba6 commit 6ae6913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/data/articles/reference-OpenAire2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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:alternateIdentifiers>
<datacite:alternateIdentifier alternateIdentifierType="zbMATH Identifier">1306.11073</datacite:alternateIdentifier>
<datacite:alternateIdentifier alternateIdentifierType="URL">https://zbmath.org/1306.11073</datacite:alternateIdentifier>
<datacite:alternateIdentifier alternateIdentifierType="zbMATH Document ID">Zbl 6383667</datacite:alternateIdentifier>
<datacite:alternateIdentifier alternateIdentifierType="DOI">10.4007/annals.2015.181.1.7</datacite:alternateIdentifier>
</datacite:alternateIdentifiers>
Expand Down
3 changes: 2 additions & 1 deletion xslt/articles/xslt-article-OpenAire2.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ Content generated by zbMATH Open, such as reviews, classifications, software, or
</xsl:template>

<xsl:template match="identifier">
<datacite:alternateIdentifier alternateIdentifierType="zbMATH Identifier">
<datacite:alternateIdentifier alternateIdentifierType="URL">
<xsl:text>https://zbmath.org/</xsl:text>
<xsl:value-of select="."/>
</datacite:alternateIdentifier>
</xsl:template>
Expand Down

0 comments on commit 6ae6913

Please sign in to comment.