]> granicus.if.org Git - docbook-dsssl/commitdiff
Corrected error in generation of table "format" spec.
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 20 Oct 2005 13:58:11 +0000 (13:58 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 20 Oct 2005 13:58:11 +0000 (13:58 +0000)
xsl/manpages/table.xsl

index 26503e7cdaec274619e2f9d5ced555a7e445eda4..4457ce144f0813eba8b60c0dea3ac04622496655 100644 (file)
       </xsl:choose>
     </xsl:for-each>
     <!-- * the following dot signals end of table "format" spec -->
-    <xsl:text> .&#10;</xsl:text>
+    <xsl:choose>
+      <xsl:when test="position() = last()">
+      <xsl:text> .&#10;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:otherwise>
+    </xsl:choose>
   </xsl:template>
 
 </xsl:stylesheet>