Skip to content

Commit

Permalink
Alberto's change - changed xslt template because of dateIssue in peri…
Browse files Browse the repository at this point in the history
…odical item
  • Loading branch information
pavels authored and jirikrepl committed Apr 21, 2016
1 parent f79cefd commit 0bcc704
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion indexer/src/cz/incad/kramerius/indexer/res/K4.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,16 @@
<field name="details">
<xsl:value-of select="mods:titleInfo/mods:title" /><xsl:value-of select="'##'" />
<xsl:value-of select="/mods:titleInfo/mods:subTitle" /><xsl:value-of select="'##'" />
<xsl:value-of select="mods:part/mods:date" /><xsl:value-of select="'##'" />
<!-- Alberto's change -->
<xsl:choose>
<xsl:when test="mods:part/mods:date">
<xsl:value-of select="mods:part/mods:date" /><xsl:value-of select="'##'" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="mods:originInfo/mods:dateIssued" /><xsl:value-of select="'##'" />
</xsl:otherwise>
</xsl:choose>

<xsl:choose>
<xsl:when test="mods:part/mods:detail[@type = 'issue']/mods:number">
<xsl:value-of select="mods:part/mods:detail[@type = 'issue']/mods:number" />
Expand All @@ -264,6 +273,8 @@
<xsl:value-of select="mods:titleInfo/mods:partNumber" />
</xsl:otherwise>
</xsl:choose>


</field>
</xsl:if>
<xsl:if test="$MODEL = 'periodicalvolume'">
Expand Down

0 comments on commit 0bcc704

Please sign in to comment.