almost done
[librarian.git] / librarian / epub / xsltScheme.xsl
index 7e866fd..e8a5af6 100644 (file)
@@ -10,7 +10,7 @@
         <link rel="stylesheet" href="style.css" type="text/css" />
         <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
         <title>
-          WolneLektury.pl
+          Future of Copyright
         </title>
       </xsl:element>
       <xsl:element name="body" xmlns="http://www.w3.org/1999/xhtml">
           <xsl:attribute name="id">book-text</xsl:attribute>
           <xsl:if test="//nazwa_utworu">
             <!--h1 xmlns="http://www.w3.org/1999/xhtml"-->
-              <xsl:apply-templates select=" //nazwa_utworu" mode="poczatek"/>
-              <xsl:apply-templates select=" //podtytul" 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="//podtytul" mode="poczatek"/>
             <!--/h1-->
           </xsl:if>
           <xsl:apply-templates />
   </xsl:template>
 
   <xsl:template match="naglowek_scena">
-    <a id="sub{@sub}" xmlns="http://www.w3.org/1999/xhtml"></a>
+    <a xmlns="http://www.w3.org/1999/xhtml"></a>
     <h2 class="h3" xmlns="http://www.w3.org/1999/xhtml">
       <xsl:apply-templates />
     </h2>
   </xsl:template>
 
   <xsl:template match="naglowek_podrozdzial">
-    <a id="sub{@sub}" xmlns="http://www.w3.org/1999/xhtml"></a>
+    <a xmlns="http://www.w3.org/1999/xhtml"></a>
     <h2 class="h4" xmlns="http://www.w3.org/1999/xhtml">
       <xsl:apply-templates />
     </h2>
   <xsl:template match="strofa">
     <div class="stanza" xmlns="http://www.w3.org/1999/xhtml">
       <xsl:apply-templates />
-    </div><div xmlns="http://www.w3.org/1999/xhtml">&#160;</div>
+    </div><div class='stanza-spacer' xmlns="http://www.w3.org/1999/xhtml">&#160;</div>
   </xsl:template>
 
   <xsl:template match="wers_normalny">
   <!--===========================================================-->
 
   <xsl:template match="text()"  >
-    <xsl:value-of select="." disable-output-escaping="yes"/>
+    <xsl:value-of select="." />
   </xsl:template>
 
   <xsl:template match="text()" >
-    <xsl:value-of select="." disable-output-escaping="yes"/>
+    <xsl:value-of select="." />
   </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>