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="//dc:title" mode="poczatek"/>
26 <xsl:template match="text()" >
27 <xsl:value-of select="." />
30 <xsl:template match="node()" mode="poczatek">
31 <xsl:value-of select="." />
34 <xsl:template match="dc:title" mode="poczatek" >
35 <h1 class="title" xmlns="http://www.w3.org/1999/xhtml">
36 <xsl:apply-templates />