]> granicus.if.org Git - docbook-dsssl/commitdiff
Add colgroup around col elements in layout table.
authorBob Stayton <bobs@sagehill.net>
Mon, 30 Jan 2012 18:40:10 +0000 (18:40 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 30 Jan 2012 18:40:10 +0000 (18:40 +0000)
xsl/html/qandaset.xsl

index 4e63d60889a6dfa5a6fe2f012a7d1340c3391d36..a4e9eea7d8b942c2f204892606dc605478e1d6ea 100644 (file)
       </xsl:attribute>
     </xsl:if>
 
-    <col align="{$direction.align.start}">
-      <xsl:attribute name="width">
-        <xsl:choose>
-          <xsl:when test="$label-width != ''">
-            <xsl:value-of select="$label-width"/>
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:text>1%</xsl:text>
-          </xsl:otherwise>
-        </xsl:choose>
-      </xsl:attribute>
-    </col>
-    <col/>
+    <colgroup>
+      <col align="{$direction.align.start}">
+        <xsl:attribute name="width">
+          <xsl:choose>
+            <xsl:when test="$label-width != ''">
+              <xsl:value-of select="$label-width"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>1%</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+      </col>
+      <col/>
+    </colgroup>
     <tbody>
       <xsl:apply-templates select="qandaentry|qandadiv"/>
     </tbody>