]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug in orderedlist-starting-number test when
authorBob Stayton <bobs@sagehill.net>
Sat, 23 Nov 2002 07:25:19 +0000 (07:25 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 23 Nov 2002 07:25:19 +0000 (07:25 +0000)
@continuation not set.

xsl/common/common.xsl

index 7cd383626971a84923b9ad6e0d7e3306a40dd671..0ef32eba4edd79e7d384052f0d3b1cf6f92c1247 100644 (file)
@@ -1135,7 +1135,7 @@ pointed to by the link is one of the elements listed in
 <xsl:template name="orderedlist-starting-number">
   <xsl:param name="list" select="."/>
   <xsl:choose>
-    <xsl:when test="$list/@continuation != 'continues'">1</xsl:when>
+    <xsl:when test="not($list/@continuation = 'continues')">1</xsl:when>
     <xsl:otherwise>
       <xsl:variable name="prevlist"
                     select="$list/preceding::orderedlist[1]"/>