fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FB2: output a basic book description.
[librarian.git]
/
librarian
/
fb2
/
poems.xslt
diff --git
a/librarian/fb2/poems.xslt
b/librarian/fb2/poems.xslt
index
77716e3
..
d276ebf
100644
(file)
--- a/
librarian/fb2/poems.xslt
+++ b/
librarian/fb2/poems.xslt
@@
-14,24
+14,16
@@
<!-- poems -->
<!-- match poem citations -->
<!-- poems -->
<!-- match poem citations -->
- <xsl:template mode="para
s
" match="poezja_cyt">
+ <xsl:template mode="para" match="poezja_cyt">
<cite>
<poem>
<cite>
<poem>
- <xsl:apply-templates mode="p
oem
"/>
+ <xsl:apply-templates mode="p
ara
"/>
</poem>
</cite>
</xsl:template>
</poem>
</cite>
</xsl:template>
- <!-- / XXX: fb2 doesn't allow <poem/> inside <p/> /
- <xsl:template mode="inline" match="poezja_cyt">
-
- <poem>
- <xsl:apply-templates mode="poem"/>
- </poem>
- </xsl:template>
- -->
<!-- regular poem elements -->
<!-- regular poem elements -->
- <xsl:template mode="p
oem
" match="strofa">
+ <xsl:template mode="p
ara
" match="strofa">
<stanza>
<xsl:call-template name="split-poem">
<xsl:with-param name="list" select="."/>
<stanza>
<xsl:call-template name="split-poem">
<xsl:with-param name="list" select="."/>
@@
-58,6
+50,4
@@
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:call-template>
</xsl:if>
</xsl:template>
-
- <xsl:template match="text()" mode="poem"/>
</xsl:stylesheet>
</xsl:stylesheet>