1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:wl="http://wolnelektury.pl/functions"
7 xmlns:date="http://exslt.org/dates-and-times">
8 <xsl:output method="html" version="1.0" encoding="utf-8" />
9 <xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />
10 <xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />
12 <xsl:template match="utwor">
15 <link rel="stylesheet" href="style.css" type="text/css" />
16 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
18 <xsl:text>Editorial page</xsl:text>
25 <xsl:when test="//dc:rights.license">
26 This book is available under the terms of
28 <xsl:attribute name="href">
29 <xsl:value-of select="//dc:rights.license" />
31 <xsl:value-of select="//dc:rights" />
35 Ten utwór nie jest chroniony prawem autorskim i znajduje się w domenie
36 publicznej, co oznacza że możesz go swobodnie wykorzystywać, publikować
37 i rozpowszechniać. Jeśli utwór opatrzony jest dodatkowymi materiałami
38 (przypisy, motywy literackie etc.), które podlegają prawu autorskiemu, to
39 te dodatkowe materiały udostępnione są na licencji
40 <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
41 Uznanie Autorstwa – Na Tych Samych Warunkach 3.0 PL</a>.
46 <p class="info">Published by <a href="http://nowoczesnapolska.org.pl">Modern Poland Foundation</a>, 2012.</p>
48 <xsl:call-template name="editors" />
50 <xsl:if test="@data-cover-by">
51 <p class="info">Cover image:
53 <xsl:when test="@data-cover-source">
55 <xsl:attribute name="href">
56 <xsl:value-of select="@data-cover-source" />
58 <xsl:value-of select="@data-cover-by" />
62 <xsl:value-of select="@data-cover-by" />
72 <xsl:template match="text()" >
73 <xsl:value-of select="." />
76 <xsl:template name="editors">
77 <xsl:if test="//dc:contributor.editor[text()]|//dc:contributor.technical_editor[text()]">
79 <xsl:text>Technical editors: </xsl:text>
80 <xsl:for-each select="//dc:contributor.editor[text()]|//dc:contributor.technical_editor[text() and not(//dc:contributor.editor/text()=text())]">
82 <xsl:if test="position() != 1">, </xsl:if>
83 <xsl:apply-templates mode="person" />
89 <xsl:template match="dc:contributor.editor|dc:contributor.technical_editor">
90 <br /><xsl:apply-templates mode='person' />
93 <xsl:template match="text()" mode="person">
94 <xsl:value-of select="wl:person_name(.)" />