<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:element name="div" 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="autor_utworu" />
+ <xsl:template match="autor_rozdzialu">
+ <xsl:apply-templates />
+ </xsl:template>
<xsl:template match="dzielo_nadrzedne" mode="poczatek">
<h2 class="collection" xmlns="http://www.w3.org/1999/xhtml">
</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>
+
+ <xsl:template match="autor_rozdzialu">
+ </xsl:template>
<xsl:template match="naglowek_rozdzial">
<h2 class="h3" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:if test="name(following-sibling::*[1])='autor_rozdzialu'">
+ <xsl:value-of select="following-sibling::*[1]/text()"/> -
+ </xsl:if>
<xsl:apply-templates />
</h2>
</xsl:template>
</div>
</xsl:template>
+ <xsl:template match="lista">
+ <ul>
+ <xsl:apply-templates />
+ </ul>
+ </xsl:template>
+
+ <xsl:template match="punkt">
+ <li><xsl:apply-templates /></li>
+ </xsl:template>
+
+ <xsl:template match="www">
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="text()"/>
+ </xsl:attribute>
+ <xsl:value-of select="text()"/>
+ </a>
+ </xsl:template>
+
+ <xsl:template match="link">
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="@url"/>
+ </xsl:attribute>
+ <xsl:value-of select="text()"/>
+ </a>
+ </xsl:template>
+
+
<!--===========================================================-->
<!-- Tagi LINIOWE -->
<!--===========================================================-->