Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSL-FO table-body Object

XSL-FO table-body Object

XSL-FO Reference Manual XSL-FO Reference Manual


Definition and Usage

fo:table-body The object is a container that contains table rows and table cells.


Syntax

fo:table-body

property

**Note:** The border property is allowed only when the table's border-collapse value is "collapse" or "collapse-with-precedence".

Properties [A-B] Properties [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:

fo:table-and-caption

fo:table

fo:table-header

fo:table-cell

Car

fo:table-cell

Price

fo:table-body

fo:table-row

fo:table-cell

fo:blockVolvo

fo:table-cell

fo:block$50000

fo:table-row

fo:table-cell

fo:blockSAAB

fo:table-cell

fo:block$48000

The output of the code above is shown below:

Car Price
Volvo $50000
SAAB $48000

XSL-FO Reference Manual XSL-FO Reference Manual