summaryrefslogtreecommitdiff
path: root/test/testdocs/table.018.xml
blob: 8b2afeaf48e616f3b337f4dd3d75aea59f3d2903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
          "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<article>
<articleinfo>
<title>Unit Test: table.018</title>
<releaseinfo role="CVS">
$Id: table.018.xml 4613 2005-04-20 11:54:35Z nwalsh $
</releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
</articleinfo>

<para>This test is a table with a long description.</para>

<table frame="all">
<title>A table with a title</title>
<textobject>
<phrase>Some short alt text</phrase>
</textobject>
<textobject>
<para>This is the long description of this table.</para>
</textobject>
<tgroup cols="4">
<colspec colname="b" colnum="2"/>
<colspec colname="c" colnum="3"/>
<colspec colname="d"/>
<spanspec spanname="cd" namest="c" nameend="d"/>
<tbody>
  <row>
    <entry>a1</entry>
    <entry morerows="1" namest="b" nameend="c">b1-c2</entry>
    <entry>d1</entry>
  </row>
  <row>
    <entry morerows="2">a2-a4</entry>
    <!-- b2, c2 spans from above -->
    <entry>d2</entry>
  </row>
  <row>
    <!-- a3 spans from above -->
    <entry>b3</entry>
    <entry>c3</entry>
    <entry>d3</entry>
  </row>
  <row>
    <!-- a4 spans from above -->
    <entry>b4</entry>
    <entry spanname="cd">c4-d4</entry>
  </row>
  <row>
    <entry>a5</entry>
    <entry>b5</entry>
    <!-- c4 is missing -->
    <entry colname="d">d5</entry>
  </row>
</tbody>
</tgroup>
</table>

</article>