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.7</title> 6 <table frame="all" id="table_tests.table1"> 7 <title>Table 1</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 <table frame="all" id="table_tests.table_2"> 30 <title>Table 2</title> 31 <tgroup cols="1"> 32 <thead> 33 <row> 34 <entry> 35 <para> 36 Heading 37 </para> 38 </entry> 39 </row> 40 </thead> 41 <tbody> 42 <row> 43 <entry> 44 <para> 45 cell 46 </para> 47 </entry> 48 </row> 49 </tbody> 50 </tgroup> 51 </table> 52 <informaltable frame="all"> 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 </informaltable> 74 <informaltable frame="all" id="table_tests.table4"> 75 <tgroup cols="1"> 76 <thead> 77 <row> 78 <entry> 79 <para> 80 Heading 81 </para> 82 </entry> 83 </row> 84 </thead> 85 <tbody> 86 <row> 87 <entry> 88 <para> 89 cell 90 </para> 91 </entry> 92 </row> 93 </tbody> 94 </tgroup> 95 </informaltable> 96 <informaltable frame="all" id="table_tests.-table5-"> 97 <tgroup cols="1"> 98 <thead> 99 <row> 100 <entry> 101 <para> 102 Heading 103 </para> 104 </entry> 105 </row> 106 </thead> 107 <tbody> 108 <row> 109 <entry> 110 <para> 111 cell 112 </para> 113 </entry> 114 </row> 115 </tbody> 116 </tgroup> 117 </informaltable> 118 <table frame="all" id="table_tests.title"> 119 <title>Title</title> 120 <tgroup cols="1"> 121 <thead> 122 <row> 123 <entry> 124 <para> 125 Heading 126 </para> 127 </entry> 128 </row> 129 </thead> 130 <tbody> 131 <row> 132 <entry> 133 <para> 134 cell 135 </para> 136 </entry> 137 </row> 138 </tbody> 139 </tgroup> 140 </table> 141 <table frame="all" id="table_tests.title0"> 142 <title>Title</title> 143 <tgroup cols="1"> 144 <thead> 145 <row> 146 <entry> 147 <para> 148 Heading 149 </para> 150 </entry> 151 </row> 152 </thead> 153 <tbody> 154 <row> 155 <entry> 156 <para> 157 cell 158 </para> 159 </entry> 160 </row> 161 </tbody> 162 </tgroup> 163 </table> 164 <table frame="all" id="table_tests.title_containing_a_comment"> 165 <title>Title containing a comment</title> 166 <tgroup cols="1"> 167 <thead> 168 <row> 169 <entry> 170 <para> 171 Heading 172 </para> 173 </entry> 174 </row> 175 </thead> 176 <tbody> 177 <row> 178 <entry> 179 <para> 180 cell 181 </para> 182 </entry> 183 </row> 184 </tbody> 185 </tgroup> 186 </table> 187 <table frame="all" id="table_tests.title1"> 188 <title>Title</title> 189 <tgroup cols="1"> 190 <thead> 191 <row> 192 <entry> 193 <para> 194 Heading 195 </para> 196 </entry> 197 </row> 198 </thead> 199 <tbody> 200 <row> 201 <entry> 202 <para> 203 cell 204 </para> 205 </entry> 206 </row> 207 </tbody> 208 </tgroup> 209 </table> 210 <informaltable frame="all"> 211 <tgroup cols="1"> 212 <thead> 213 <row> 214 <entry> 215 <para> 216 Heading 217 </para> 218 </entry> 219 </row> 220 </thead> 221 <tbody> 222 <row> 223 <entry> 224 <para> 225 Cell 1 226 </para> 227 </entry> 228 </row> 229 <row> 230 <entry> 231 <para> 232 Cell 2 233 </para> 234 </entry> 235 </row> 236 </tbody> 237 </tgroup> 238 </informaltable> 239 <table frame="all" id="table_tests.title_on_multiple_lines_with_bol"> 240 <title>Title on multiple lines with <emphasis role="bold">bold</emphasis> text?</title> 241 <tgroup cols="1"> 242 <thead> 243 <row> 244 <entry> 245 <para> 246 Heading 247 </para> 248 </entry> 249 </row> 250 </thead> 251 <tbody> 252 <row> 253 <entry> 254 <para> 255 Cell 1 256 </para> 257 </entry> 258 </row> 259 <row> 260 <entry> 261 <para> 262 Cell 2 263 </para> 264 </entry> 265 </row> 266 </tbody> 267 </tgroup> 268 </table> 269 <section id="table_tests.section1"> 270 <title><link linkend="table_tests.section1">Section 1</link></title> 271 <table frame="all" id="table_tests.section1.table1"> 272 <title>Table 1</title> 273 <tgroup cols="1"> 274 <thead> 275 <row> 276 <entry> 277 <para> 278 Heading 279 </para> 280 </entry> 281 </row> 282 </thead> 283 <tbody> 284 <row> 285 <entry> 286 <para> 287 cell 288 </para> 289 </entry> 290 </row> 291 </tbody> 292 </tgroup> 293 </table> 294 <table frame="all" id="table_tests.section1.a_b"> 295 <title>A & B</title> 296 <tgroup cols="2"> 297 <thead> 298 <row> 299 <entry> 300 <para> 301 A 302 </para> 303 </entry> 304 <entry> 305 <para> 306 B 307 </para> 308 </entry> 309 </row> 310 </thead> 311 <tbody> 312 <row> 313 <entry> 314 <para> 315 a 316 </para> 317 </entry> 318 <entry> 319 <para> 320 b 321 </para> 322 </entry> 323 </row> 324 </tbody> 325 </tgroup> 326 </table> 327 <table frame="all" id="table_tests.section1.empty_table"> 328 <title>Empty Table</title> 329 <tgroup cols="0"> 330 <tbody> 331 </tbody> 332 </tgroup> 333 </table> 334 <table frame="all" id="table_tests.section1.table_with_an_empty_cell"> 335 <title>Table with an empty cell</title> 336 <tgroup cols="1"> 337 <tbody> 338 <row> 339 <entry> 340 <para> 341 x 342 </para> 343 </entry> 344 </row> 345 </tbody> 346 </tgroup> 347 </table> 348 <table frame="all" id="table_tests.section1.indentation"> 349 <title>Indentation</title> 350 <tgroup cols="2"> 351 <thead> 352 <row> 353 <entry> 354 <para> 355 Header 1. Paragraph 1 356 </para> 357 <para> 358 Header 1. Paragraph 2 359 </para> 360 </entry> 361 <entry> 362 <para> 363 Header 2 364 </para> 365 </entry> 366 </row> 367 </thead> 368 <tbody> 369 <row> 370 <entry> 371 <para> 372 Row 1. Cell 1. 373 </para> 374 </entry> 375 <entry> 376 <para> 377 Row 1. Cell 2. 378 </para> 379 <para> 380 Row 1. Cell 2. Paragraph 2. 381 </para> 382 </entry> 383 </row> 384 <row> 385 <entry> 386 <para> 387 Row 2. Cell 1. 388 </para> 389 <itemizedlist> 390 <listitem> 391 <simpara> 392 Row 2. Cell 1. List item 1. 393 </simpara> 394 </listitem> 395 <listitem> 396 <simpara> 397 Row 2. Cell 1. List item 2. 398 </simpara> 399 </listitem> 400 </itemizedlist> 401 </entry> 402 <entry> 403 <para> 404 Row 2. Cell 2. 405 </para> 406 <itemizedlist> 407 <listitem> 408 <simpara> 409 Row 2. Cell 2. List item 1. 410 </simpara> 411 </listitem> 412 <listitem> 413 <simpara> 414 Row 2. Cell 2. List item 2. 415 </simpara> 416 </listitem> 417 </itemizedlist> 418 </entry> 419 </row> 420 </tbody> 421 </tgroup> 422 </table> 423 <table frame="all" id="table_tests.section1.nested_tables"> 424 <title>Nested Tables</title> 425 <tgroup cols="1"> 426 <thead> 427 <row> 428 <entry> 429 <para> 430 Header 1 431 </para> 432 </entry> 433 <entry> 434 <para> 435 Header 2 436 </para> 437 </entry> 438 </row> 439 </thead> 440 <tbody> 441 <row> 442 <entry> 443 <table frame="all" id="table_tests.section1.inner_table"> 444 <title>Inner Table</title> 445 <tgroup cols="2"> 446 <thead> 447 <row> 448 <entry> 449 <para> 450 1.1 451 </para> 452 </entry> 453 <entry> 454 <para> 455 1.2 456 </para> 457 </entry> 458 </row> 459 </thead> 460 <tbody> 461 <row> 462 <entry> 463 <para> 464 2.1 465 </para> 466 </entry> 467 <entry> 468 <para> 469 2.2 470 </para> 471 </entry> 472 </row> 473 </tbody> 474 </tgroup> 475 </table> 476 </entry> 477 </row> 478 <row> 479 <entry> 480 <para> 481 Something. 482 </para> 483 </entry> 484 </row> 485 </tbody> 486 </tgroup> 487 </table> 488 <anchor id="id1"/> 489 <table frame="all" id="table_tests.section1.table_with_anchors"> 490 <title>Table with anchors</title> 491 <tgroup cols="1"> 492 <thead> 493 <row> 494 <entry> 495 <para> 496 <anchor id="id2"/>a<anchor id="id3"/> 497 </para> 498 </entry> 499 </row> 500 </thead> 501 <tbody> 502 <row> 503 <entry> 504 <para> 505 b 506 </para> 507 </entry> 508 </row> 509 </tbody> 510 </tgroup> 511 </table> 512 <table frame="all" id="table_tests.section1.id123"> 513 <title>Table with template id</title> 514 <tgroup cols="0"> 515 <tbody> 516 </tbody> 517 </tgroup> 518 </table> 519 </section> 520</article> 521