fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ancient typo in unused code
[librarian.git]
/
librarian
/
xslt
/
book2html.xslt
diff --git
a/librarian/xslt/book2html.xslt
b/librarian/xslt/book2html.xslt
index
c4757e1
..
4b6c72a
100644
(file)
--- a/
librarian/xslt/book2html.xslt
+++ b/
librarian/xslt/book2html.xslt
@@
-193,6
+193,10
@@
</p>
</xsl:template>
</p>
</xsl:template>
+<xsl:template match="strofa" mode="inline">
+ <xsl:apply-templates select="." />
+</xsl:template>
+
<xsl:template match="strofa">
<div class="stanza">
<xsl:call-template name="section-anchor"/>
<xsl:template match="strofa">
<div class="stanza">
<xsl:call-template name="section-anchor"/>
@@
-256,7
+260,14
@@
</xsl:template>
<xsl:template match="tabela|tabelka">
</xsl:template>
<xsl:template match="tabela|tabelka">
- <table><xsl:apply-templates /></table>
+ <xsl:choose>
+ <xsl:when test="@ramka = '1'">
+ <table class="border"><xsl:apply-templates /></table>
+ </xsl:when>
+ <xsl:otherwise>
+ <table><xsl:apply-templates /></table>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="wiersz">
<tr><xsl:apply-templates /></tr>
</xsl:template>
<xsl:template match="wiersz">
<tr><xsl:apply-templates /></tr>