X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/fefdce4e24f9e397df5538fe6e7f54b5ece4d841..d9c4c2ba3172bb39e1255479be53338d27dfa954:/src/librarian/epub/xsltScheme.xsl diff --git a/src/librarian/epub/xsltScheme.xsl b/src/librarian/epub/xsltScheme.xsl index 724d983..0fae871 100644 --- a/src/librarian/epub/xsltScheme.xsl +++ b/src/librarian/epub/xsltScheme.xsl @@ -1,17 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:wl="http://wolnelektury.pl/functions" exclude-result-prefixes="mml wl"> <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" /> <xsl:template match="/" > <xsl:element name="html" xmlns="http://www.w3.org/1999/xhtml"> <xsl:element name="head"> <link rel="stylesheet" href="style.css" type="text/css" /> - <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> - <title> - WolneLektury.pl - </title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>WolneLektury.pl</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"> @@ -81,12 +77,12 @@ <xsl:template match="ilustr"> <img> - <xsl:attribute name="src"> - <xsl:value-of select="@src" /> - </xsl:attribute> <xsl:attribute name="alt"> <xsl:value-of select="@alt" /> </xsl:attribute> + <xsl:attribute name="src"> + <xsl:value-of select="@src" /> + </xsl:attribute> <xsl:attribute name="title"> <xsl:value-of select="@alt" /> </xsl:attribute> @@ -378,7 +374,7 @@ <xsl:template match="extra" /> <xsl:template match="pe|pa|pr|pt" > - <a class="anchor" id="anchor-{.}" href="annotations.html#annotation-{.}" + <a class="anchor" href="annotations.xhtml#annotation-{.}" id="anchor-{.}" xmlns="http://www.w3.org/1999/xhtml"><sup xmlns="http://www.w3.org/1999/xhtml"><xsl:apply-templates /></sup></a> </xsl:template>