fixed a problem with multiple nodes

This commit is contained in:
Michele Artini 2024-03-25 12:15:51 +01:00
parent 7faa115ba0
commit 6ffb1faf09
1 changed files with 11 additions and 7 deletions

View File

@ -153,13 +153,17 @@
</xsl:for-each> </xsl:for-each>
</datacite:subjects> </datacite:subjects>
<xsl:for-each select="//dc:publisher">
<datacite:publisher> <datacite:publisher>
<xsl:value-of select="normalize-space(//dc:publisher)" /> <xsl:value-of select="normalize-space(.)" />
</datacite:publisher> </datacite:publisher>
</xsl:for-each>
<xsl:for-each select="//base_dc:year">
<datacite:publicationYear> <datacite:publicationYear>
<xsl:value-of select="normalize-space(//base_dc:year)" /> <xsl:value-of select="normalize-space(.)" />
</datacite:publicationYear> </datacite:publicationYear>
</xsl:for-each>
<datacite:formats> <datacite:formats>
<xsl:for-each select="//dc:format"> <xsl:for-each select="//dc:format">