Re: [ANN] xmlroff 0.3.7
Stefan Seefeld <[email protected]> Wed, 02 Nov 2005 15:10:20 -0500
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
The libfo-compat.xsl file contains a number of typos, which the attached patch tries to fix. Regards, Stefan
libfo-compat.xsl.diff
(text/x-patch, 1.1 KB)
Index: libfo-compat.xsl
===================================================================
RCS file: /cvsroot/xmlroff/xmlroff/libfo-compat.xsl,v
retrieving revision 1.17
diff -u -r1.17 libfo-compat.xsl
--- libfo-compat.xsl 11 Oct 2005 19:10:58 -0000 1.17
+++ libfo-compat.xsl 2 Nov 2005 20:08:20 -0000
@@ -51,7 +51,7 @@
<xsl:output method="xml"/>
<xsl:param name="verbose" select="false()"/>
- <xsl:param name="keep-theshold" select="20"/>
+ <xsl:param name="keep-threshold" select="20"/>
<xsl:template match="/">
<xsl:if test="$verbose">
@@ -134,7 +134,7 @@
<xsl:template match="@keep-together |
@keep-together.within-line |
@keep-together.within-column |
- @keep-together.within-page
+ @keep-together.within-page |
@keep-with-previous |
@keep-with-previous.within-line |
@keep-with-previous.within-column |
@@ -144,7 +144,7 @@
@keep-with-next.within-column |
@keep-with-next.within-page">
<xsl:choose>
- <xsl:when test=". < $keep-threshold">
+ <xsl:when test="node() < $keep-threshold">
<xsl:attribute name="{name()}">auto</xsl:attribute>
</xsl:when>
<xsl:otherwise>