oia and doi xslt: only show 'givenName', 'familyName' and affilation if 'name_type' == 'Personal'
This commit is contained in:
parent
840bdffd2d
commit
27d95ddd70
|
@ -342,12 +342,17 @@
|
|||
<xsl:text>)</xsl:text>
|
||||
</xsl:if>
|
||||
</creatorName>
|
||||
<givenName>
|
||||
<xsl:value-of select="@FirstName" />
|
||||
</givenName>
|
||||
<familyName>
|
||||
<xsl:value-of select="@LastName" />
|
||||
</familyName>
|
||||
|
||||
<xsl:if test="@NameType = 'Personal'">
|
||||
<givenName>
|
||||
<xsl:value-of select="@FirstName" />
|
||||
</givenName>
|
||||
<familyName>
|
||||
<xsl:value-of select="@LastName" />
|
||||
</familyName>
|
||||
<affiliation>GBA</affiliation>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@IdentifierOrcid != ''">
|
||||
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
|
||||
<xsl:value-of select="@IdentifierOrcid" />
|
||||
|
@ -356,7 +361,7 @@
|
|||
<!--
|
||||
<nameType><xsl:value-of select="@NameType" /></nameType>
|
||||
</xsl:if> -->
|
||||
<affiliation>GBA</affiliation>
|
||||
|
||||
</creator>
|
||||
</xsl:template>
|
||||
|
||||
|
|
|
@ -345,12 +345,17 @@
|
|||
<xsl:text>)</xsl:text>
|
||||
</xsl:if>
|
||||
</creatorName>
|
||||
<givenName>
|
||||
<xsl:value-of select="@FirstName" />
|
||||
</givenName>
|
||||
<familyName>
|
||||
<xsl:value-of select="@LastName" />
|
||||
</familyName>
|
||||
|
||||
<xsl:if test="@NameType = 'Personal'">
|
||||
<givenName>
|
||||
<xsl:value-of select="@FirstName" />
|
||||
</givenName>
|
||||
<familyName>
|
||||
<xsl:value-of select="@LastName" />
|
||||
</familyName>
|
||||
<affiliation>GBA</affiliation>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="@IdentifierOrcid != ''">
|
||||
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
|
||||
<xsl:value-of select="@IdentifierOrcid" />
|
||||
|
@ -359,7 +364,7 @@
|
|||
<!--
|
||||
<nameType><xsl:value-of select="@NameType" /></nameType>
|
||||
</xsl:if> -->
|
||||
<affiliation>GBA</affiliation>
|
||||
|
||||
</creator>
|
||||
</xsl:template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user