Commit aa5c21ca by Steinberg, Jan

wzb -> added urn registration flag and switch for pubstatus

parent f1fe49dc
<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<responseDate>2017-09-06T14:00:51Z</responseDate>
<request verb="GetRecord" identifier="oai:hup.sub.uni-hamburg.de.giga:article/1052" metadataPrefix="xMetaDissPlus">https://journals.sub.uni-hamburg.de/giga/afsp/oai</request>
<GetRecord>
......@@ -27,7 +25,7 @@
xmlns:dini="http://www.d-nb.de/standards/xmetadissplus/type/"
xmlns="http://www.d-nb.de/standards/subject/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.d-nb.de/standards/xmetadissplus/ http://files.dnb.de/standards/xmetadissplus/xmetadissplus.xsd">
>
<dc:title xsi:type="ddb:titleISO639-2" lang="ger">Pressefreiheit und das nigerianische Gesetz zur Internetkriminalität von 2015: eine Bewertung</dc:title>
<dc:title xsi:type="ddb:titleISO639-2" lang="eng">Press Freedom and Nigeria’s Cybercrime Act of 2015: An Assessment</dc:title>
<dc:creator xsi:type="pc:MetaPers">
......
......@@ -55,11 +55,33 @@
</xsl:template>
<xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc">
<xsl:call-template name="new-metadatum">
<!--xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.pubstatus'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'1'"/>
</xsl:call-template>
</xsl:call-template-->
<xsl:variable name="pubstatus">
<xsl:for-each select="//dc:description">
<xsl:value-of select="text()"/>
<xsl:text> ; </xsl:text>
</xsl:for-each>
</xsl:variable>
<xsl:choose>
<xsl:when test="contains($pubstatus, 'Accepted version (postprint)')">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.pubstatus'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'2'"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.pubstatus'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'1'"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.publisher.country'"/>
......@@ -73,11 +95,11 @@
<xsl:with-param name="value" select="'WZB'"/>
</xsl:call-template>
<!-- <xsl:call-template name="new-metadatum">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'ssoar.urn.registration'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'false'"/>
</xsl:call-template>-->
<xsl:with-param name="value" select="'true'"/>
</xsl:call-template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.description.review'"/>
......
Markdown is supported
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