1 <?xml version="1.0" encoding="utf-8"?>
4 This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
5 Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
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">
14 <!-- in paragraph mode -->
16 <xsl:template mode="para" match="akap|akap_dialog|akap_cd|motto_podpis">
17 <!-- paragraphs & similar -->
19 <p><xsl:apply-templates mode="inline"/></p>
22 <xsl:template mode="para" match="werset">
23 <!-- paragraphs & similar -->
25 <p><xsl:apply-templates mode="inline"/></p>
28 <xsl:template mode="para" match="dlugi_cytat|motto|dedykacja|nota">
29 <cite><xsl:apply-templates mode="para"/></cite>
32 <xsl:template mode="para" match="srodtytul|podtytul_czesc|podtytul_rozdzial|podtytul_podrozdzial|podtytul_akt|podtytul_scena">
33 <p><strong><xsl:apply-templates mode="inline"/></strong></p>
36 <xsl:template mode="para" match="sekcja_swiatlo">
37 <empty-line/><empty-line/><empty-line/>
40 <xsl:template mode="para" match="sekcja_asterysk">
41 <empty-line/><p>*</p><empty-line/>
44 <xsl:template mode="para" match="separator_linia">
45 <empty-line/><p>————————</p><empty-line/>
48 <xsl:template mode="para" match="tabela|tabelka">
49 <table><xsl:apply-templates mode="para" /></table>
51 <xsl:template mode="para" match="wiersz">
52 <tr><xsl:apply-templates mode="para" /></tr>
54 <xsl:template mode="para" match="kol">
55 <td><xsl:apply-templates mode="inline" /></td>
58 <xsl:template mode="para" match="ramka">
59 <xsl:apply-templates mode="para" />
63 <xsl:template mode="para" match="*"/>
64 <xsl:template mode="sections" match="*"/>