This applies the fix for the Any index to NORMARC bib
and MARC21 authority DOM Zebra indexes.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
<xslo:apply-templates mode="index_heading_conditional"/>
<xslo:apply-templates mode="index_match_heading"/>
<xslo:apply-templates mode="index_subject_thesaurus"/>
+ <xslo:apply-templates mode="index_all"/>
</z:record>
</xslo:template>
<xslo:template match="marc:leader">
<xslo:value-of select="$full_thesaurus_code"/>
</z:index>
</xslo:template>
- <xslo:template match="*">
+ <xslo:template mode="index_all" match="text()">
<z:index name="Any:w Any:p">
<xslo:value-of select="."/>
</z:index>
<xslo:apply-templates mode="index_heading_conditional"/>
<xslo:apply-templates mode="index_match_heading"/>
<xslo:apply-templates mode="index_subject_thesaurus"/>
+ <xslo:apply-templates mode="index_all"/>
</z:record>
</xslo:template>
<xslo:template match="marc:leader">
<xslo:value-of select="normalize-space($raw_heading)"/>
</z:index>
</xslo:template>
- <xslo:template match="*">
+ <xslo:template mode="index_all" match="text()">
<z:index name="Any:w Any:p">
<xslo:value-of select="."/>
</z:index>