- contributorType in edit form of Editor
- contributorType in OAI
This commit is contained in:
parent
3a2336adad
commit
cf996de390
14 changed files with 45 additions and 19 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -122,7 +122,7 @@
|
|||
<xsl:text>persistent</xsl:text>
|
||||
</deletedRecord>
|
||||
<granularity>
|
||||
<xsl:text>YYYY-MM-DD</xsl:text>
|
||||
<xsl:text>YYYY-MM-DDThh:mm:ssZ</xsl:text>
|
||||
</granularity>
|
||||
<description>
|
||||
<oai-identifier xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai-identifier http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
|
||||
|
|
|
@ -253,13 +253,18 @@
|
|||
<xsl:template match="PersonContributor" mode="oai_datacite"
|
||||
xmlns="http://datacite.org/schema/kernel-4">
|
||||
<contributor>
|
||||
<xsl:if test="@ContributorType != ''">
|
||||
<xsl:attribute name="contributorType">
|
||||
<xsl:value-of select="@ContributorType" />
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<contributorName>
|
||||
<xsl:if test="@NameType != ''">
|
||||
<!-- <xsl:if test="@NameType != ''">
|
||||
<xsl:attribute name="nameType">
|
||||
<xsl:value-of select="@NameType" />
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@LastName" />
|
||||
</xsl:if> -->
|
||||
<xsl:value-of select="concat(@FirstName, ' ',@LastName)" />
|
||||
</contributorName>
|
||||
</contributor>
|
||||
</xsl:template>
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue