- DatasetExtension.php save also Reference for datacite and dublin_core transformations

- oai:datacite.xslt für relatedIdentifiers
- oai: dc: datasetxml2oai-pmh.xslt für dc:relation
- dataset.php correct hasEmbargoPassed() method
This commit is contained in:
Arno Kaimbacher 2020-03-05 13:40:09 +01:00
parent fd98c6c09d
commit c0022e3c1c
4 changed files with 36 additions and 2 deletions

View file

@ -77,6 +77,11 @@
<xsl:text>Dataset</xsl:text>
<!-- <xsl:value-of select="@Type" /> -->
</resourceType>
<xsl:if test="Reference">
<relatedIdentifiers>
<xsl:apply-templates select="Reference" mode="oai_datacite" />
</relatedIdentifiers>
</xsl:if>
<rightsList>
<xsl:apply-templates select="Licence" mode="oai_datacite" />
</rightsList>
@ -195,6 +200,18 @@
</subject>
</xsl:template>
<xsl:template match="Reference" mode="oai_datacite">
<relatedIdentifier>
<xsl:attribute name="relatedIdentifierType">
<xsl:value-of select="@Type" />
</xsl:attribute>
<xsl:attribute name="relationType">
<xsl:value-of select="@Relation" />
</xsl:attribute>
<xsl:value-of select="@Value" />
</relatedIdentifier>
</xsl:template>
<xsl:template match="PersonContributor" mode="oai_datacite">
<contributor>
<contributorName>