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="dlugi_cytat|motto|dedykacja|nota">
23 <cite><xsl:apply-templates mode="para"/></cite>
26 <xsl:template mode="para" match="srodtytul|podtytul_czesc|podtytul_rozdzial|podtytul_podrozdzial|podtytul_akt|podtytul_scena">
27 <p><strong><xsl:apply-templates mode="inline"/></strong></p>
30 <xsl:template mode="para" match="sekcja_swiatlo">
31 <empty-line/><empty-line/><empty-line/>
34 <xsl:template mode="para" match="sekcja_asterysk">
35 <empty-line/><p>*</p><empty-line/>
38 <xsl:template mode="para" match="separator_linia">
39 <empty-line/><p>————————</p><empty-line/>
42 <xsl:template mode="para" match="tabela|tabelka">
43 <table><xsl:apply-templates mode="para" /></table>
45 <xsl:template mode="para" match="wiersz">
46 <tr><xsl:apply-templates mode="para" /></tr>
48 <xsl:template mode="para" match="kol">
49 <td><xsl:apply-templates mode="inline" /></td>
52 <xsl:template mode="para" match="ramka">
53 <xsl:apply-templates mode="para" />
57 <xsl:template mode="para" match="*"/>
58 <xsl:template mode="sections" match="*"/>