--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\r
+ <xsl:output method="html" version="1.0" encoding="utf-8" />\r
+ <xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />\r
+ <xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />\r
+\r
+ <xsl:template match="/">\r
+ <html xmlns="http://www.w3.org/1999/xhtml">\r
+ <head>\r
+ <link rel="stylesheet" href="style.css" type="text/css" />\r
+ <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />\r
+ <title>\r
+ <xsl:text>Przypisy</xsl:text>\r
+ </title>\r
+ </head>\r
+ <body>\r
+ <div id="book-text" xmlns="http://www.w3.org/1999/xhtml">\r
+ <div id="footnotes" xmlns="http://www.w3.org/1999/xhtml">\r
+ <h2 xmlns="http://www.w3.org/1999/xhtml">\r
+ Przypisy:\r
+ </h2>\r
+ <xsl:apply-templates mode="przypis" />\r
+ </div>\r
+ </div>\r
+ </body>\r
+ </html>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="text()" >\r
+ <xsl:value-of select="." disable-output-escaping="yes"/>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="pa|pe|pr|pt" mode="przypis">\r
+ <div xmlns="http://www.w3.org/1999/xhtml">\r
+ <p id="annotation-{@number}" xmlns="http://www.w3.org/1999/xhtml"></p>\r
+ <a class="annotation" href="part{@part}.html#anchor-{@number}" xmlns="http://www.w3.org/1999/xhtml">\r
+ [<xsl:value-of select="@number" />]\r
+ </a>\r
+ <p xmlns="http://www.w3.org/1999/xhtml">\r
+ <xsl:apply-templates />\r
+ </p>\r
+ </div>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="slowo_obce">\r
+ <em class="foreign-word" xmlns="http://www.w3.org/1999/xhtml">\r
+ <xsl:apply-templates select="text()" />\r
+ </em>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="akap|akap_cd">\r
+ <p class="paragraph" xmlns="http://www.w3.org/1999/xhtml">\r
+ <xsl:apply-templates />\r
+ </p>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="strofa">\r
+ <div class="stanza" xmlns="http://www.w3.org/1999/xhtml">\r
+ <xsl:apply-templates />\r
+ </div>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="tytul_dziela" >\r
+ <em class="book-title" xmlns="http://www.w3.org/1999/xhtml">\r
+ <xsl:if test="@typ = '1'" >„</xsl:if>\r
+ <xsl:apply-templates />\r
+ <xsl:if test="@typ = '1'">”</xsl:if>\r
+ </em>\r
+ </xsl:template>\r
+\r
+ <xsl:template match="wers_normalny">\r
+ <p class="verse" xmlns="http://www.w3.org/1999/xhtml">\r
+ <xsl:apply-templates />\r
+ </p>\r
+ </xsl:template>\r
+\r
+</xsl:stylesheet>
\ No newline at end of file