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:text>)</xsl:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</creatorName>
|
</creatorName>
|
||||||
<givenName>
|
|
||||||
<xsl:value-of select="@FirstName" />
|
<xsl:if test="@NameType = 'Personal'">
|
||||||
</givenName>
|
<givenName>
|
||||||
<familyName>
|
<xsl:value-of select="@FirstName" />
|
||||||
<xsl:value-of select="@LastName" />
|
</givenName>
|
||||||
</familyName>
|
<familyName>
|
||||||
|
<xsl:value-of select="@LastName" />
|
||||||
|
</familyName>
|
||||||
|
<affiliation>GBA</affiliation>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:if test="@IdentifierOrcid != ''">
|
<xsl:if test="@IdentifierOrcid != ''">
|
||||||
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
|
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
|
||||||
<xsl:value-of select="@IdentifierOrcid" />
|
<xsl:value-of select="@IdentifierOrcid" />
|
||||||
|
@ -356,7 +361,7 @@
|
||||||
<!--
|
<!--
|
||||||
<nameType><xsl:value-of select="@NameType" /></nameType>
|
<nameType><xsl:value-of select="@NameType" /></nameType>
|
||||||
</xsl:if> -->
|
</xsl:if> -->
|
||||||
<affiliation>GBA</affiliation>
|
|
||||||
</creator>
|
</creator>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
@ -345,12 +345,17 @@
|
||||||
<xsl:text>)</xsl:text>
|
<xsl:text>)</xsl:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</creatorName>
|
</creatorName>
|
||||||
<givenName>
|
|
||||||
<xsl:value-of select="@FirstName" />
|
<xsl:if test="@NameType = 'Personal'">
|
||||||
</givenName>
|
<givenName>
|
||||||
<familyName>
|
<xsl:value-of select="@FirstName" />
|
||||||
<xsl:value-of select="@LastName" />
|
</givenName>
|
||||||
</familyName>
|
<familyName>
|
||||||
|
<xsl:value-of select="@LastName" />
|
||||||
|
</familyName>
|
||||||
|
<affiliation>GBA</affiliation>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:if test="@IdentifierOrcid != ''">
|
<xsl:if test="@IdentifierOrcid != ''">
|
||||||
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
|
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
|
||||||
<xsl:value-of select="@IdentifierOrcid" />
|
<xsl:value-of select="@IdentifierOrcid" />
|
||||||
|
@ -359,7 +364,7 @@
|
||||||
<!--
|
<!--
|
||||||
<nameType><xsl:value-of select="@NameType" /></nameType>
|
<nameType><xsl:value-of select="@NameType" /></nameType>
|
||||||
</xsl:if> -->
|
</xsl:if> -->
|
||||||
<affiliation>GBA</affiliation>
|
|
||||||
</creator>
|
</creator>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user