1
0
Fork 0

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,14 +153,18 @@
</xsl:for-each> </xsl:for-each>
</datacite:subjects> </datacite:subjects>
<datacite:publisher> <xsl:for-each select="//dc:publisher">
<xsl:value-of select="normalize-space(//dc:publisher)" /> <datacite:publisher>
</datacite:publisher> <xsl:value-of select="normalize-space(.)" />
</datacite:publisher>
<datacite:publicationYear> </xsl:for-each>
<xsl:value-of select="normalize-space(//base_dc:year)" />
</datacite:publicationYear>
<xsl:for-each select="//base_dc:year">
<datacite:publicationYear>
<xsl:value-of select="normalize-space(.)" />
</datacite:publicationYear>
</xsl:for-each>
<datacite:formats> <datacite:formats>
<xsl:for-each select="//dc:format"> <xsl:for-each select="//dc:format">
<datacite:format> <datacite:format>