The DOM transformer was missing a line from a previous development,
resulting in the MARC21 authorities DOM indexing stylesheet being
regenerated with a missing line. This patch readds the missing line
to the transformer, and provides the corrected authority-zebra-indexdefs.
Signed-off-by: Elliott Davis <elliott@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
<xslo:value-of select="normalize-space($raw_heading)"/>
</z:index>
</xslo:template>
- <xslo:template mode="index_heading_conditional">
+ <xslo:template mode="index_heading_conditional" match="marc:datafield[@tag='450']">
<xslo:if test="substring(marc:subfield[@code='w']/text(), 2, 1)">
<z:index name="Previous-heading-see-from:p">
<xslo:variable name="raw_heading">
<xsl:template name="handle-index-heading-conditional">
<xsl:for-each select="//kohaidx:index_heading_conditional[generate-id() = generate-id(key('index_heading_conditional_tag', @tag)[1])]">
<xslo:template mode="index_heading_conditional">
+ <xsl:attribute name="match">marc:datafield[@tag='<xsl:value-of select="@tag"/>']</xsl:attribute>
<xslo:if>
<xsl:attribute name="test"><xsl:value-of select="@test"/></xsl:attribute>
<xsl:for-each select="key('index_heading_conditional_tag', @tag)">