]> granicus.if.org Git - docbook-dsssl/commitdiff
testing spanspec
authorAdam Di Carlo <adicarlo@users.sourceforge.net>
Sat, 8 Feb 2003 18:07:29 +0000 (18:07 +0000)
committerAdam Di Carlo <adicarlo@users.sourceforge.net>
Sat, 8 Feb 2003 18:07:29 +0000 (18:07 +0000)
testdocs/tests/informaltable.016.xml [new file with mode: 0644]

diff --git a/testdocs/tests/informaltable.016.xml b/testdocs/tests/informaltable.016.xml
new file mode 100644 (file)
index 0000000..4b19da5
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<article id="informaltable.016">
+<articleinfo>
+<title>Unit Test: informaltable.016</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Adam</firstname> <surname>Di Carlo</surname>
+        <affiliation><address><email>adam@onshored.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+
+<!--
++........+........+........+........+
+|   A    |   B    |   C    |   D    |
++........+........+........+........+
+|   E    |                         F|
++........+........+........+........+
+
+-->
+
+  <para>Spanspec test.  Cell "F" should be right aligned and spanning
+  the last 3 columns.</para>
+
+<informaltable frame="all" id="informaltable">
+      <tgroup cols="4" colsep="1" rowsep="1" align="center">
+        <colspec colname="one"/>
+        <colspec colname="two"/>
+        <colspec colname="three"/>
+        <colspec colname="four"/>
+        <spanspec namest="two" nameend="four" spanname="thespan"
+          align="right"/>
+        <tbody>
+          <row>
+            <entry>A</entry>
+            <entry>B</entry>
+            <entry>C</entry>
+            <entry>D</entry>
+          </row>
+          <row>
+            <entry>E</entry>
+            <entry spanname="thespan">F</entry>
+        </row>
+      </tbody>
+    </tgroup>
+  </informaltable>
+</article>
+
+