Revision 50174
Added by Alessia Bardi over 6 years ago
DatasetfromPangaeaTransform.xsl | ||
---|---|---|
47 | 47 |
<xsl:param name="openaire_dataset_identifier"/> |
48 | 48 |
<xsl:param name="dataset_identifier"/> |
49 | 49 |
<xsl:param name="parent_uri"/> |
50 |
<xsl:variable name="doi"> |
|
51 |
<xsl:value-of |
|
52 |
select="replace(replace($dataset_identifier, 'https://doi.org/', ''), 'https://doi.pangaea.de/', '')"/> |
|
53 |
</xsl:variable> |
|
50 | 54 |
<oai:record> |
51 | 55 |
<oai:header> |
52 | 56 |
<dri:objIdentifier> |
... | ... | |
71 | 75 |
xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd" |
72 | 76 |
xmlns="http://datacite.org/schema/kernel-3"> |
73 | 77 |
<identifier identifierType="DOI"> |
74 |
<xsl:value-of |
|
75 |
select="$dataset_identifier"/> |
|
78 |
<xsl:value-of select="$doi"/> |
|
76 | 79 |
</identifier> |
77 | 80 |
<creators> |
78 | 81 |
<xsl:for-each select="//md:citation/md:author"> |
Also available in: Unified diff
Pangaea dataet: identifiers must be plain DOI (not URL) or the portal generates a wrong link.