XSL-FO table-body Object
Definition and Usage
The <fo:table-body> object is a container that holds table rows and table cells.
Syntax
Attributes
Note: The border attributes are only allowed when the table's border-collapse value is "collapse" or "collapse-with-precedence".
| Attribute [A-B] | Attribute [C-Z] |
|---|---|
| azimuth | cue-after |
| background-attachment | cue-before |
| background-color | elevation |
| background-image | id |
| background-repeat | left |
| background-position-horizontal | pause-after |
| background-position-vertical | pause-before |
| border-after-color | pitch |
| border-after-precedence | pitch-range |
| border-after-style | play-during |
| border-after-width | relative-position |
| border-before-color | richness |
| border-before-precedence | role |
| border-before-style | right |
| border-before-width | source-document |
| border-bottom-color | speak |
| border-bottom-style | speak-header |
| border-bottom-width | speak-numeral |
| border-collapse | speak-punctuation |
| border-end-color | speech-rate |
| border-end-precedence | stress |
| border-end-style | top |
| border-end-width | visibility |
| border-left-color | voice-family |
| border-left-style | volume |
| border-left-width | |
| border-right-color | |
| border-right-style | |
| border-right-width | |
| border-separation | |
| border-start-color | |
| border-start-precedence | |
| border-start-style | |
| border-start-width | |
| border-top-color | |
| border-top-style | |
| border-top-width | |
| bottom |
Example 1
A simple table:
The output of the above code is as follows:
| Car | Price |
|---|---|
| Volvo | $50000 |
| SAAB | $48000 |