<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:wl="http://wolnelektury.pl/functions" >
-<xsl:output method="xml" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes" />
+<xsl:output encoding="utf-8" indent="yes" omit-xml-declaration = "yes" />
<xsl:template match="utwor">
- <html>
+ <!-- <html>
<head>
<title>book2html output</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" href="master.css" type="text/css" media="all" charset="utf-8" />
</head>
- <body>
+ <body> -->
+ <div id="book-text">
<xsl:apply-templates select="powiesc|opowiadanie|liryka_l|liryka_lp|dramat_wierszowany_l|dramat_wierszowany_lp|dramat_wspolczesny" />
<xsl:if test="count(descendant::*[self::pe or self::pa or self::pr or self::pt][not(parent::extra)])">
<div id="footnotes">
</xsl:for-each>
</div>
</xsl:if>
- </body>
- </html>
+ </div>
+ <!-- </body>
+ </html> -->
</xsl:template>
<!-- Themes -->
<xsl:template match="begin" mode="inline">
<xsl:variable name="mnum" select="concat('m', substring(@id, 2))" />
- <span class="theme-begin" fid="{substring(@id, 2)}">
- <a name="m{substring(@id, 2)}" />
+ <a name="m{substring(@id, 2)}" class="theme-begin" fid="{substring(@id, 2)}">
<xsl:value-of select="string(following::motyw[@id=$mnum]/text())" />
- </span>
+ </a>
</xsl:template>
<xsl:template match="end" mode="inline">