increased word spacing in WL XML
[librarian.git] / librarian / fb2 / inline.xslt
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3
4         This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
5         Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6
7 -->
8 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9         xmlns:wl="http://wolnelektury.pl/functions"
10         xmlns:dc="http://purl.org/dc/elements/1.1/"
11         xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
12         xmlns:l="http://www.w3.org/1999/xlink">
13
14         <!-- inline elements -->
15
16         <!-- ignored -->
17         <xsl:template match="motyw" mode="inline"/>
18
19         <!-- formatting -->
20         <xsl:template match="slowo_obce" mode="inline">
21                 <emphasis>
22                         <xsl:apply-templates mode="inline"/>
23                 </emphasis>
24         </xsl:template>
25         <xsl:template match="tytul_dziela" mode="inline">
26                 <emphasis>
27             <xsl:if test="@typ">„</xsl:if>
28                         <xsl:apply-templates mode="inline"/>
29             <xsl:if test="@typ">”</xsl:if>
30                 </emphasis>
31         </xsl:template>
32         <xsl:template match="wyroznienie" mode="inline">
33                 <strong>
34                         <xsl:apply-templates mode="inline"/>
35                 </strong>
36         </xsl:template>
37         <xsl:template match="indeks_dolny" mode="inline">
38                 <sub>
39                         <xsl:apply-templates mode="inline"/>
40                 </sub>
41         </xsl:template>
42         <xsl:template match="wieksze_odstepy" mode="inline">
43                 <xsl:apply-templates mode="inline"/>
44         </xsl:template>
45
46         <!-- text -->
47         <xsl:template match="text()" mode="inline">
48                 <xsl:value-of select="wl:substitute_entities(.)"/>
49         </xsl:template>
50
51         <xsl:template match="uwaga" mode="inline"/>
52         <xsl:template match="extra" mode="inline"/>
53 </xsl:stylesheet>