• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
3<article id="table_tests" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5  <title>Table 1.3</title>
6  <table frame="all" id="table_tests.t0">
7    <title>Table 2</title>
8    <tgroup cols="1">
9      <thead>
10        <row>
11          <entry>
12            <para>
13              Heading
14            </para>
15          </entry>
16        </row>
17      </thead>
18      <tbody>
19        <row>
20          <entry>
21            <para>
22              cell
23            </para>
24          </entry>
25        </row>
26      </tbody>
27    </tgroup>
28  </table>
29  <informaltable frame="all">
30    <tgroup cols="1">
31      <thead>
32        <row>
33          <entry>
34            <para>
35              Heading
36            </para>
37          </entry>
38        </row>
39      </thead>
40      <tbody>
41        <row>
42          <entry>
43            <para>
44              cell
45            </para>
46          </entry>
47        </row>
48      </tbody>
49    </tgroup>
50  </informaltable>
51  <table frame="all" id="table_tests.t1">
52    <title>Title</title>
53    <tgroup cols="1">
54      <thead>
55        <row>
56          <entry>
57            <para>
58              Heading
59            </para>
60          </entry>
61        </row>
62      </thead>
63      <tbody>
64        <row>
65          <entry>
66            <para>
67              cell
68            </para>
69          </entry>
70        </row>
71      </tbody>
72    </tgroup>
73  </table>
74  <table frame="all" id="table_tests.t2">
75    <title>Title</title>
76    <tgroup cols="1">
77      <thead>
78        <row>
79          <entry>
80            <para>
81              Heading
82            </para>
83          </entry>
84        </row>
85      </thead>
86      <tbody>
87        <row>
88          <entry>
89            <para>
90              cell
91            </para>
92          </entry>
93        </row>
94      </tbody>
95    </tgroup>
96  </table>
97  <table frame="all" id="table_tests.t3">
98    <title>Title [/ ] containing a comment</title>
99    <tgroup cols="1">
100      <thead>
101        <row>
102          <entry>
103            <para>
104              Heading
105            </para>
106          </entry>
107        </row>
108      </thead>
109      <tbody>
110        <row>
111          <entry>
112            <para>
113              cell
114            </para>
115          </entry>
116        </row>
117      </tbody>
118    </tgroup>
119  </table>
120  <table frame="all" id="table_tests.t4">
121    <title>Title</title>
122    <tgroup cols="1">
123      <thead>
124        <row>
125          <entry>
126            <para>
127              Heading
128            </para>
129          </entry>
130        </row>
131      </thead>
132      <tbody>
133        <row>
134          <entry>
135            <para>
136              cell
137            </para>
138          </entry>
139        </row>
140      </tbody>
141    </tgroup>
142  </table>
143  <table frame="all" id="table_tests.t5">
144    <title>[[Title]]</title>
145    <tgroup cols="1">
146      <thead>
147        <row>
148          <entry>
149            <para>
150              Heading
151            </para>
152          </entry>
153        </row>
154      </thead>
155      <tbody>
156        <row>
157          <entry>
158            <para>
159              cell
160            </para>
161          </entry>
162        </row>
163      </tbody>
164    </tgroup>
165  </table>
166  <section id="table_tests.section1">
167    <title><link linkend="table_tests.section1">Section 1</link></title>
168    <table frame="all" id="table_tests.section1.t0">
169      <title>A &amp; B</title>
170      <tgroup cols="2">
171        <thead>
172          <row>
173            <entry>
174              <para>
175                A
176              </para>
177            </entry>
178            <entry>
179              <para>
180                B
181              </para>
182            </entry>
183          </row>
184        </thead>
185        <tbody>
186          <row>
187            <entry>
188              <para>
189                a
190              </para>
191            </entry>
192            <entry>
193              <para>
194                b
195              </para>
196            </entry>
197          </row>
198        </tbody>
199      </tgroup>
200    </table>
201    <table frame="all" id="table_tests.section1.t1">
202      <title>Empty Table</title>
203      <tgroup cols="0">
204        <tbody>
205        </tbody>
206      </tgroup>
207    </table>
208    <table frame="all" id="table_tests.section1.t2">
209      <title>Table with an empty cell</title>
210      <tgroup cols="1">
211        <tbody>
212          <row>
213            <entry>
214              <para>
215                x
216              </para>
217            </entry>
218          </row>
219        </tbody>
220      </tgroup>
221    </table>
222    <table frame="all" id="table_tests.section1.t3">
223      <title>Indentation</title>
224      <tgroup cols="2">
225        <thead>
226          <row>
227            <entry>
228              <para>
229                Header 1. Paragraph 1
230              </para>
231              <para>
232                Header 1. Paragraph 2
233              </para>
234            </entry>
235            <entry>
236              <para>
237                Header 2
238              </para>
239            </entry>
240          </row>
241        </thead>
242        <tbody>
243          <row>
244            <entry>
245              <para>
246                Row 1. Cell 1.
247              </para>
248            </entry>
249            <entry>
250              <para>
251                Row 1. Cell 2.
252              </para>
253              <para>
254                Row 1. Cell 2. Paragraph 2.
255              </para>
256            </entry>
257          </row>
258        </tbody>
259      </tgroup>
260    </table>
261    <table frame="all" id="table_tests.section1.t4">
262      <title>Nested Tables</title>
263      <tgroup cols="1">
264        <thead>
265          <row>
266            <entry>
267              <para>
268                Header 1
269              </para>
270            </entry>
271            <entry>
272              <para>
273                Header 2
274              </para>
275            </entry>
276          </row>
277        </thead>
278        <tbody>
279          <row>
280            <entry>
281              <table frame="all" id="table_tests.section1.t5">
282                <title>Inner Table</title>
283                <tgroup cols="2">
284                  <thead>
285                    <row>
286                      <entry>
287                        <para>
288                          1.1
289                        </para>
290                      </entry>
291                      <entry>
292                        <para>
293                          1.2
294                        </para>
295                      </entry>
296                    </row>
297                  </thead>
298                  <tbody>
299                    <row>
300                      <entry>
301                        <para>
302                          2.1
303                        </para>
304                      </entry>
305                      <entry>
306                        <para>
307                          2.2
308                        </para>
309                      </entry>
310                    </row>
311                  </tbody>
312                </tgroup>
313              </table>
314            </entry>
315          </row>
316          <row>
317            <entry>
318              <para>
319                Something.
320              </para>
321            </entry>
322          </row>
323        </tbody>
324      </tgroup>
325    </table>
326    <anchor id="id1"/>
327    <table frame="all" id="table_tests.section1.t6">
328      <title>Table with anchors</title>
329      <tgroup cols="1">
330        <thead>
331          <row>
332            <entry>
333              <para>
334                <anchor id="id2"/>a<anchor id="id3"/>
335              </para>
336            </entry>
337          </row>
338        </thead>
339        <tbody>
340          <row>
341            <entry>
342              <para>
343                b
344              </para>
345            </entry>
346          </row>
347        </tbody>
348      </tgroup>
349    </table>
350  </section>
351</article>
352