1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method="html" version="1.0" encoding="utf-8" />
4 <xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />
5 <xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />
7 <xsl:template match="/">
8 <html xmlns="http://www.w3.org/1999/xhtml">
10 <link rel="stylesheet" href="style.css" type="text/css" />
11 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
13 <xsl:text>Przypisy</xsl:text>
17 <div id="book-text" xmlns="http://www.w3.org/1999/xhtml">
18 <div id="footnotes" xmlns="http://www.w3.org/1999/xhtml">
19 <h2 xmlns="http://www.w3.org/1999/xhtml">
22 <xsl:apply-templates mode="przypis" />
29 <xsl:template match="text()" >
30 <xsl:value-of select="." />
33 <xsl:template match="pa|pe|pr|pt" mode="przypis">
34 <div xmlns="http://www.w3.org/1999/xhtml" class="annotation">
35 <p id="annotation-{@number}" xmlns="http://www.w3.org/1999/xhtml"></p>
36 <a class="annotation-anchor" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml">
37 [<xsl:value-of select="@number" />]
39 <p class="annotation-body" xmlns="http://www.w3.org/1999/xhtml">
40 <xsl:apply-templates />
41 <xsl:if test="name()='pa'"> [przypis autorski]</xsl:if>
46 <xsl:template match="slowo_obce">
47 <em class="foreign-word" xmlns="http://www.w3.org/1999/xhtml">
48 <xsl:apply-templates select="text()" />
52 <xsl:template match="akap|akap_cd">
53 <p class="paragraph" xmlns="http://www.w3.org/1999/xhtml">
54 <xsl:apply-templates />
58 <xsl:template match="strofa">
59 <div class="stanza" xmlns="http://www.w3.org/1999/xhtml">
60 <xsl:apply-templates />
64 <xsl:template match="tytul_dziela" >
65 <em class="book-title" xmlns="http://www.w3.org/1999/xhtml">
66 <xsl:if test="@typ = '1'" >„</xsl:if>
67 <xsl:apply-templates />
68 <xsl:if test="@typ = '1'">”</xsl:if>
72 <xsl:template match="wers_normalny">
73 <p class="verse" xmlns="http://www.w3.org/1999/xhtml">
74 <xsl:apply-templates />