This function builds the entire
Section 10.31, “
foTableStart(): Build the table
preamble” builds the
table start tag and its first two child
table-column elements defining the
column formats, and the
element that defines the running heads that will also
appear on continuation pages.
Section 10.34, “
foTableBody()” builds the
table-body element containing the census report.
# - - - f o T a b l e def foTable(s, cbcHist): '''Format the main history table in XSL-FO. ''' #-- 1 # [ s +:= an open table element with its table-column and # table-header children added from cbcHist's # effort information # table := that element ] table = foTableStart(s, cbcHist) #-- 2 # [ s +:= a table-body element representing cbcHist's # census rows ] foTableBody(s, cbcHist) #-- 3 # [ s +:= table, closed ] table.end() #-- 4 # [ s +:= a colophon ] foColophon(s)