implemented full-text search

This commit is contained in:
Oleg Belyaev 2025-03-22 23:43:48 +03:00
parent 947fe623da
commit 9b42996cef
6 changed files with 203 additions and 15 deletions

View file

@ -26,7 +26,7 @@
<xsl:template match="abv:mark">
<mark>
<xsl:next-match/>
<xsl:apply-templates/>
</mark>
</xsl:template>
@ -129,7 +129,8 @@
</xsl:element>
</xsl:template>
<xsl:template match="tei:cit[@type='example']/tei:quote">
<xsl:template match="tei:cit[@type='example']/tei:quote |
tei:cit[@type='example']/abv:mark/tei:quote">
<xsl:element name="i">
<xsl:attribute name="class">abv-example</xsl:attribute>
<xsl:attribute name="lang" select="../@xml:lang"/>