]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug in evaluation of @float in figure.
authorBob Stayton <bobs@sagehill.net>
Fri, 16 Jan 2004 19:12:10 +0000 (19:12 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 16 Jan 2004 19:12:10 +0000 (19:12 +0000)
xsl/fo/formal.xsl

index c009f5bad0df52304db608b57cf045bf6ca0cbf6..7fa9ed940261e274dd95ab690564f35220632d50 100644 (file)
   </xsl:variable>
 
   <xsl:choose>
-    <xsl:when test="@float and @float != 0">
+    <xsl:when test="@float and @float != '0'">
       <fo:float>
         <xsl:attribute name="float">
           <xsl:choose>
-            <xsl:when test="@float = 1">
+            <xsl:when test="@float = '1'">
               <xsl:value-of select="$default.float.class"/>
             </xsl:when>
             <xsl:otherwise>