1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/">
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>Strona tytułowa</xsl:text>
17 <div id="book-text" xmlns="http://www.w3.org/1999/xhtml">
18 <div class='title-page'>
19 <xsl:apply-templates select="//dzielo_nadrzedne" mode="poczatek"/>
20 <xsl:apply-templates select="//autor_utworu" mode="poczatek"/>
21 <xsl:apply-templates select="//nazwa_utworu" mode="poczatek"/>
22 <!--xsl:apply-templates select="//dc:title" mode="poczatek"/-->
29 <xsl:template match="text()" >
30 <xsl:value-of select="." />
33 <xsl:template match="node()" mode="poczatek">
34 <xsl:value-of select="." />
37 <xsl:template match="dc:title" mode="poczatek" >
38 <h1 class="title" xmlns="http://www.w3.org/1999/xhtml">
39 <xsl:apply-templates />
43 <xsl:template match="autor_utworu" mode="poczatek">
45 <xsl:apply-templates />
49 <xsl:template match="dzielo_nadrzedne" mode="poczatek">
50 <h2 class="collection" >
51 <xsl:apply-templates />
55 <xsl:template match="nazwa_utworu" mode="poczatek" >
57 <xsl:apply-templates />