summaryrefslogtreecommitdiff
path: root/tests/data/oldtables-docbook5.xml
blob: 8299ffa7b550599c2f9b446fc0631d959a6ca0b1 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<?xml version="1.0" encoding="UTF-8"?>
<?asciidoc-toc?>
<?asciidoc-numbered?>

<article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
<info>
    <title>AsciiDoc Old Tables</title>
</info>
<simpara>Examples of the AsciiDoc <emphasis>old tables</emphasis> syntax. This syntax was used in
AsciiDoc versions up to 8.2.7 and has since been deprecated in favor
of the <emphasis>new tables</emphasis> syntax.</simpara>
<simpara>Simple table:</simpara>
<informaltable pgwide="0"
frame="topbot"
rowsep="0" colsep="0"
>
<tgroup cols="2">
<colspec colwidth="24*" align="left"/>
<colspec colwidth="24*" align="left"/>
<tbody>
  <row>
    <entry>
    1
    </entry>
    <entry>
    2
    </entry>
  </row>
  <row>
    <entry>
    3
    </entry>
    <entry>
    4
    </entry>
  </row>
  <row>
    <entry>
    5
    </entry>
    <entry>
    6
    </entry>
  </row>
</tbody>
</tgroup>
</informaltable>
<simpara>Table with title, header and footer:</simpara>
<table pgwide="0"
frame="topbot"
rowsep="1" colsep="1"
>
<title>An example table</title>
<tgroup cols="2">
<colspec colwidth="72*" align="left"/>
<colspec colwidth="91*" align="center"/>
<thead>
  <row>
    <entry>
    Column 1
    </entry>
    <entry>
    Column 2
    </entry>
  </row>
</thead>
<tfoot>
  <row>
    <entry>
    6
    </entry>
    <entry>
    Three items
    </entry>
  </row>
</tfoot>
<tbody>
  <row>
    <entry>
    1
    </entry>
    <entry>
    Item 1
    </entry>
  </row>
  <row>
    <entry>
    2
    </entry>
    <entry>
    Item 2
    </entry>
  </row>
  <row>
    <entry>
    3
    </entry>
    <entry>
    Item 3
    </entry>
  </row>
</tbody>
</tgroup>
</table>
<simpara>Four columns totaling 15% of the <emphasis>pagewidth</emphasis>, CSV data:</simpara>
<informaltable pgwide="0"
frame="all"
rowsep="0" colsep="0"
>
<tgroup cols="4">
<colspec colwidth="15*" align="left"/>
<colspec colwidth="15*" align="left"/>
<colspec colwidth="15*" align="left"/>
<colspec colwidth="15*" align="left"/>
<tbody>
  <row>
    <entry>
    1
    </entry>
    <entry>
    2
    </entry>
    <entry>
    3
    </entry>
    <entry>
    4
    </entry>
  </row>
  <row>
    <entry>
    a
    </entry>
    <entry>
    b
    </entry>
    <entry>
    c
    </entry>
    <entry>
    d
    </entry>
  </row>
  <row>
    <entry>
    A
    </entry>
    <entry>
    B
    </entry>
    <entry>
    C
    </entry>
    <entry>
    D
    </entry>
  </row>
</tbody>
</tgroup>
</informaltable>
<simpara>A table with a numeric ruler and externally sourced CSV data:</simpara>
<informaltable pgwide="0"
frame="all"
rowsep="1" colsep="1"
>
<tgroup cols="5">
<colspec colwidth="63*" align="left"/>
<colspec colwidth="85*" align="left"/>
<colspec colwidth="106*" align="left"/>
<colspec colwidth="85*" align="left"/>
<colspec colwidth="85*" align="left"/>
<thead>
  <row>
    <entry>
    ID
    </entry>
    <entry>
    Customer Name
    </entry>
    <entry>
    Contact Name
    </entry>
    <entry>
    Customer Address
    </entry>
    <entry>
    Phone
    </entry>
  </row>
</thead>
<tbody>
  <row>
    <entry>
    AROUT
    </entry>
    <entry>
    Around the Horn
    </entry>
    <entry>
    Thomas Hardy
    </entry>
    <entry>
    120 Hanover Sq.
    <?asciidoc-br?>
    London
    </entry>
    <entry>
    (171) 555-7788
    </entry>
  </row>
  <row>
    <entry>
    BERGS
    </entry>
    <entry>
    Berglunds snabbkop
    </entry>
    <entry>
    Christina Berglund
    </entry>
    <entry>
    Berguvsvagen  8
    <?asciidoc-br?>
    Lulea
    </entry>
    <entry>
    0921-12 34 65
    </entry>
  </row>
  <row>
    <entry>
    BLAUS
    </entry>
    <entry>
    Blauer See Delikatessen
    </entry>
    <entry>
    Hanna Moos
    </entry>
    <entry>
    Forsterstr. 57
    <?asciidoc-br?>
    Mannheim
    </entry>
    <entry>
    0621-08460
    </entry>
  </row>
  <row>
    <entry>
    BLONP
    </entry>
    <entry>
    Blondel pere et fils
    </entry>
    <entry>
    Frederique Citeaux
    </entry>
    <entry>
    24, place Kleber
    <?asciidoc-br?>
    Strasbourg
    </entry>
    <entry>
    88.60.15.31
    </entry>
  </row>
  <row>
    <entry>
    BOLID
    </entry>
    <entry>
    Bolido Comidas preparadas
    </entry>
    <entry>
    Martin Sommer
    </entry>
    <entry>
    C/ Araquil, 67
    <?asciidoc-br?>
    Madrid
    </entry>
    <entry>
    (91) 555 22 82
    </entry>
  </row>
  <row>
    <entry>
    BONAP
    </entry>
    <entry>
    Bon app'
    </entry>
    <entry>
    Laurence Lebihan
    </entry>
    <entry>
    12, rue des Bouchers
    <?asciidoc-br?>
    Marseille
    </entry>
    <entry>
    91.24.45.40
    </entry>
  </row>
  <row>
    <entry>
    BOTTM
    </entry>
    <entry>
    Bottom-Dollar Markets
    </entry>
    <entry>
    Elizabeth Lincoln
    </entry>
    <entry>
    23 Tsawassen Blvd.
    <?asciidoc-br?>
    Tsawassen
    </entry>
    <entry>
    (604) 555-4729
    </entry>
  </row>
  <row>
    <entry>
    BSBEV
    </entry>
    <entry>
    B&#8217;s Beverages
    </entry>
    <entry>
    Victoria Ashworth
    </entry>
    <entry>
    Fauntleroy Circus
    <?asciidoc-br?>
    London
    </entry>
    <entry>
    (171) 555-1212
    </entry>
  </row>
  <row>
    <entry>
    CACTU
    </entry>
    <entry>
    Cactus Comidas para llevar
    </entry>
    <entry>
    Patricio Simpson
    </entry>
    <entry>
    Cerrito 333
    <?asciidoc-br?>
    Buenos Aires
    </entry>
    <entry>
    (1) 135-5555
    </entry>
  </row>
</tbody>
</tgroup>
</informaltable>
</article>