X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/e93fbf2edc7fa6905dbcca3b2c6f6c76f306d71a..0f3e12398ddbbb07a71eeafb3f960631777cabdc:/librarian/epub/xsltChunkTitle.xsl

diff --git a/librarian/epub/xsltChunkTitle.xsl b/librarian/epub/xsltChunkTitle.xsl
index 8c0e09a..1a997b6 100644
--- a/librarian/epub/xsltChunkTitle.xsl
+++ b/librarian/epub/xsltChunkTitle.xsl
@@ -16,7 +16,10 @@
       <body>
         <div id="book-text" xmlns="http://www.w3.org/1999/xhtml">
           <div class='title-page'>
-            <xsl:apply-templates select="//dc:title" mode="poczatek"/>
+            <xsl:apply-templates select="//dzielo_nadrzedne"  mode="poczatek"/>
+            <xsl:apply-templates select="//autor_utworu"  mode="poczatek"/>
+            <xsl:apply-templates select="//nazwa_utworu"  mode="poczatek"/>
+            <!--xsl:apply-templates select="//dc:title" mode="poczatek"/-->
           </div>
         </div>
       </body>
@@ -37,4 +40,24 @@
     </h1>
   </xsl:template>
 
+  <xsl:template match="autor_utworu" mode="poczatek">
+    <h2 class="author" >
+      <xsl:apply-templates />
+    </h2>
+  </xsl:template>
+
+  <xsl:template match="dzielo_nadrzedne" mode="poczatek">
+    <h2 class="collection" >
+      <xsl:apply-templates />
+    </h2>
+  </xsl:template>
+
+  <xsl:template match="nazwa_utworu" mode="poczatek" >
+    <h1 class="title" >
+      <xsl:apply-templates />
+    </h1>
+  </xsl:template>
+
+
+
 </xsl:stylesheet>