Commit 47761520 authored by Fischer, Tim's avatar Fischer, Tim
Browse files

Fixed error in tatup setspec check

parent ebf02c64
......@@ -76,23 +76,26 @@
<xsl:with-param name="value" select="'false'"/>
</xsl:call-template>-->
<xsl:choose>
<xsl:when test="matches(//oai:setSpec, 'Special') or matches(//oai:setSpec, 'Research')">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.review'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'1'"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.review'"/>
<xsl:with-param name="language" select="//setSpec/text()"/>
<xsl:with-param name="value" select="'2'"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<xsl:for-each select="//oai:setSpec">
<xsl:if test="not(. = 'driver')">
<xsl:choose>
<xsl:when test=". = 'tatup:Special+Topic' or . = 'tatup:Research'">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.review'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'1'"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.review'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'2'"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.identifier.issn'"/>
......
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