allow svg, but not tiff
[librarian.git] / librarian / epub / xsltChunkTitle.xsl
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" />
6
7   <xsl:template match="/">
8     <html xmlns="http://www.w3.org/1999/xhtml">
9       <head>
10         <link rel="stylesheet" href="style.css" type="text/css" />
11         <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
12         <title>
13           <xsl:text>Strona tytuĹ‚owa</xsl:text>
14         </title>
15       </head>
16       <body>
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"/>
20           </div>
21         </div>
22       </body>
23     </html>
24   </xsl:template>
25
26   <xsl:template match="text()" >
27     <xsl:value-of select="." />
28   </xsl:template>
29
30   <xsl:template match="node()" mode="poczatek">
31     <xsl:value-of select="." />
32   </xsl:template>
33
34   <xsl:template match="dc:title" mode="poczatek" >
35     <h1 class="title" xmlns="http://www.w3.org/1999/xhtml">
36       <xsl:apply-templates />
37     </h1>
38   </xsl:template>
39
40 </xsl:stylesheet>