Skip to content

Commit

Permalink
MCR-3011 fix duplicate dateModified
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerre authored and kkrebs committed Feb 20, 2024
1 parent 6e80194 commit 2135439
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mycore-mods/src/main/resources/xsl/mods2schemaorg.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@
</xsl:if>

<!-- dateCreated -->
<xsl:if test="mods:originInfo[@eventType='creation']/mods:dateModified[@encoding='w3cdtf' and not(@type)]">
<fn:string key="dateModified">
<xsl:if test="mods:originInfo[@eventType='creation']/mods:dateCreated[@encoding='w3cdtf' and not(@type)]">
<fn:string key="dateCreated">
<xsl:value-of
select="mods:originInfo[@eventType='creation']/mods:dateModified[@encoding='w3cdtf' and not(@type)]" />
select="mods:originInfo[@eventType='creation']/mods:dateCreated[@encoding='w3cdtf' and not(@type)]" />
</fn:string>
</xsl:if>

Expand Down

0 comments on commit 2135439

Please sign in to comment.