Commit 145ab9f7 authored by Fischer, Tim's avatar Fischer, Tim
Browse files

Fixed transformation for online first documents

parent 8d8dfeb4
......@@ -230,7 +230,7 @@
</xsl:if>
</xsl:template>
<xsl:template match="dc:source[@xml:lang='en-US']">
<xsl:template match="dc:source[@xml:lang='en-US'][matches(text(), 'No.')]">
<xsl:variable name="issued"
select="substring-before(substring-after(text(),'('),')')" />
<xsl:if
......@@ -265,6 +265,15 @@
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template match="dc:source[@xml:lang='en-US'][matches(text(), 'Online First')]">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key"
select="'dc.date.issued'" />
<xsl:with-param name="language" select="''" />
<xsl:with-param name="value" select="'Online First'" />
</xsl:call-template>
</xsl:template>
<xsl:template
match="dc:identifier[matches(text(), '^10\..*')]">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment