<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/">
<xsl:output method="html" version="1.0" encoding="utf-8" />
<xsl:output doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" />
<xsl:output doctype-public="-//W3C//DTD XHTML 1.1//EN" />
<link rel="stylesheet" href="style.css" type="text/css" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<title>
- Future of Copyright
+ <xsl:value-of select="//dc:title"/>
</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="//dzielo_nadrzedne" mode="poczatek"/>
<!--===========================================================-->
<xsl:template match="nota">
- <div class="note" xmlns="http://www.w3.org/1999/xhtml">
- <xsl:apply-templates />
- </div>
+ <xsl:if test="not(@typ!='redp' or @typ!='redk')">
+ <div class="note" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates />
+ </div>
+ </xsl:if>
</xsl:template>
+ <xsl:template match="nota_red">
+ <div class="note_red" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates />
+ </div>
+ </xsl:template>
+
+
<xsl:template match="lista_osob" >
<div class="person-list" xmlns="http://www.w3.org/1999/xhtml">
<div class="h3" xmlns="http://www.w3.org/1999/xhtml">
</xsl:template>
<xsl:template match="autor_utworu" />
+ <xsl:template match="autor_rozdzialu"/>
<xsl:template match="dzielo_nadrzedne" mode="poczatek">
<h2 class="collection" xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="podtytul" />
- <xsl:template match="naglowek_czesc|srodtytul">
+ <xsl:template match="naglowek_czesc">
<h2 class="h2" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</h2>
<xsl:apply-templates />
</h2>
</xsl:template>
+
+ <xsl:template match="naglowek_podpodrozdzial|srodtytul">
+ <a xmlns="http://www.w3.org/1999/xhtml"></a>
+ <div class="p" xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates />
+ </div>
+ </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>
+ <h2 class="h2" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
</h2>
+ <div class="info" 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>
+ </div>
</xsl:template>
<xsl:template match="naglowek_osoba">
<xsl:template match="uwaga" />
- <xsl:template match="nota_red" />
<!--pominięcie tych metadanych-->
<xsl:template match="rdf:RDF" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
+ <xsl:template match="latex" />
+
<!--===========================================================-->
<!-- Tagi TEKSTOWE -->
<!--===========================================================-->
<xsl:value-of select="." />
</xsl:template>
+ <!--===========================================================-->
+ <!-- Tagi ILUSTRACJE -->
+ <!--===========================================================-->
+ <xsl:template match="ilustr" >
+ <img>
+ <xsl:attribute name="src"><xsl:value-of select="@src"/>.<xsl:choose><xsl:when test="@extbitmap"><xsl:value-of select="@extbitmap"/></xsl:when><xsl:otherwise><xsl:value-of select="@ext"/></xsl:otherwise></xsl:choose></xsl:attribute>
+ </img>
+ <xsl:apply-templates />
+ </xsl:template>
+
+ <xsl:template match="img">
+ <img rel="math formula">
+ <xsl:attribute name="src">
+ <xsl:value-of select="text()"/>
+ </xsl:attribute>
+ <xsl:attribute name="class">latex</xsl:attribute>
+ </img>
+ </xsl:template>
+
+ <xsl:template match="wyimek_extra">
+ </xsl:template>
+
</xsl:stylesheet>