- add collection to oai_dc inside datasetxml2oai-pmh.xslt

This commit is contained in:
Arno Kaimbacher 2022-12-02 15:15:33 +01:00
parent b1d62e14f7
commit ea568123f1
2 changed files with 13 additions and 1 deletions

View File

@ -385,6 +385,7 @@
</xsl:choose> </xsl:choose>
<!-- dc:subject --> <!-- dc:subject -->
<xsl:apply-templates select="Subject" mode="oai_dc" /> <xsl:apply-templates select="Subject" mode="oai_dc" />
<xsl:apply-templates select="Collection" mode="oai_dc" />
<!-- dc:description --> <!-- dc:description -->
<xsl:apply-templates select="TitleAbstract" mode="oai_dc" /> <xsl:apply-templates select="TitleAbstract" mode="oai_dc" />
<!-- dc:description --> <!-- dc:description -->
@ -553,6 +554,17 @@
</dc:subject> </dc:subject>
</xsl:template> </xsl:template>
<xsl:template match="Collection" mode="oai_dc">
<dc:subject>
<!-- <xsl:if test="@Language != ''">
<xsl:attribute name="xml:lang">
<xsl:value-of select="@Language" />
</xsl:attribute>
</xsl:if> -->
<xsl:value-of select="concat(string(@Collectionrole.Name), ':', string(@Number))" />
</dc:subject>
</xsl:template>
<xsl:template match="Reference" mode="oai_dc"> <xsl:template match="Reference" mode="oai_dc">
<dc:relation> <dc:relation>
<xsl:value-of select="@Value" /> <xsl:value-of select="@Value" />

File diff suppressed because one or more lines are too long