Commit 274e3674 authored by Fischer, Tim's avatar Fischer, Tim
Browse files

modified ratswd xslt

parent 99d03b9d
...@@ -2390,6 +2390,12 @@ ...@@ -2390,6 +2390,12 @@
<!-- And here follows ratSWD_output_series --> <!-- And here follows ratSWD_output_series -->
<xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc" mode="ratSWD_output_series"> <xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc" mode="ratSWD_output_series">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.source.series'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'RatSWD Output Series'"/>
</xsl:call-template>
<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="key" select="'dc.description.pubstatus'"/>
<xsl:with-param name="language" select="''"/> <xsl:with-param name="language" select="''"/>
...@@ -2487,7 +2493,7 @@ ...@@ -2487,7 +2493,7 @@
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="new-metadatum"> <xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.contributor.editor'"/> <xsl:with-param name="key" select="'dc.contributor.author'"/>
<xsl:with-param name="language" select="''"/> <xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="text()"/> <xsl:with-param name="value" select="text()"/>
</xsl:call-template> </xsl:call-template>
...@@ -2495,12 +2501,6 @@ ...@@ -2495,12 +2501,6 @@
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.source.series'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="RatSWD Output Series"/>
</xsl:call-template>
<xsl:template match="dc:relation" mode="ratSWD_output_series"> <xsl:template match="dc:relation" mode="ratSWD_output_series">
<xsl:if test="starts-with(., 'Series: ')"> <xsl:if test="starts-with(., 'Series: ')">
<xsl:if test="contains(., ' ; ')"> <xsl:if test="contains(., ' ; ')">
...@@ -2670,6 +2670,12 @@ ...@@ -2670,6 +2670,12 @@
<!-- And here follows ratSWD_research_notes --> <!-- And here follows ratSWD_research_notes -->
<xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc" mode="ratSWD_research_notes"> <xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc" mode="ratSWD_research_notes">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.source.series'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'RatSWD Research Notes'"/>
</xsl:call-template>
<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="key" select="'dc.description.pubstatus'"/>
<xsl:with-param name="language" select="''"/> <xsl:with-param name="language" select="''"/>
...@@ -2767,7 +2773,7 @@ ...@@ -2767,7 +2773,7 @@
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="new-metadatum"> <xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.contributor.editor'"/> <xsl:with-param name="key" select="'dc.contributor.author'"/>
<xsl:with-param name="language" select="''"/> <xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="text()"/> <xsl:with-param name="value" select="text()"/>
</xsl:call-template> </xsl:call-template>
...@@ -2775,12 +2781,6 @@ ...@@ -2775,12 +2781,6 @@
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.source.series'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="RatSWD Research Notes"/>
</xsl:call-template>
<xsl:template match="dc:relation" mode="ratSWD_research_notes"> <xsl:template match="dc:relation" mode="ratSWD_research_notes">
<xsl:if test="starts-with(., 'Series: ')"> <xsl:if test="starts-with(., 'Series: ')">
<xsl:if test="contains(., ' ; ')"> <xsl:if test="contains(., ' ; ')">
...@@ -2950,6 +2950,12 @@ ...@@ -2950,6 +2950,12 @@
<!-- And here follows ratSWD_working_paper --> <!-- And here follows ratSWD_working_paper -->
<xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc" mode="ratSWD_working_paper"> <xsl:template match="oai:OAI-PMH/oai:GetRecord/oai:record/oai:metadata/oai_dc:dc" mode="ratSWD_working_paper">
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.source.series'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'RatSWD Working Paper Series'"/>
</xsl:call-template>
<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="key" select="'dc.description.pubstatus'"/>
<xsl:with-param name="language" select="''"/> <xsl:with-param name="language" select="''"/>
...@@ -3047,7 +3053,7 @@ ...@@ -3047,7 +3053,7 @@
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="new-metadatum"> <xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.contributor.editor'"/> <xsl:with-param name="key" select="'dc.contributor.author'"/>
<xsl:with-param name="language" select="''"/> <xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="text()"/> <xsl:with-param name="value" select="text()"/>
</xsl:call-template> </xsl:call-template>
...@@ -3055,12 +3061,6 @@ ...@@ -3055,12 +3061,6 @@
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.source.series'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="RatSWD Working Paper Series"/>
</xsl:call-template>
<xsl:template match="dc:relation" mode="ratSWD_working_paper"> <xsl:template match="dc:relation" mode="ratSWD_working_paper">
<xsl:if test="starts-with(., 'Series: ')"> <xsl:if test="starts-with(., 'Series: ')">
<xsl:if test="contains(., ' ; ')"> <xsl:if test="contains(., ' ; ')">
......
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