XML technologies / ePUB / Open Publication Structure / Tables / Display problems

(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)

Technically, the described table model can structure any conceivable table. Large tables with many columns or rows produce extensive XML structures, affecting editing speed in an XML editor and processing during subsequent conversions. However, a limit is currently reached in readers and devices, which often still lack usable scrolling and zooming:

This is probably temporary, and future reader and device generations can be expected to improve display. Nevertheless, consider conceptual ways to optimize such tables for e-books.

One such approach is transposing table content row by row. Consider the following 13-column table:

Table with many columns

Figure: Multi-column table, farmland bird index (excerpt from Eurostat).

The table converts directly into the table model, but many readers struggle with its many columns. At normal or medium font sizes, columns are cut off on the right.

With the smallest font and possibly a larger window, this table remains manageable in software readers. A device with a fixed display size, however, reaches a definite limit.

Multi-column table (Adobe Digital Editions) Multi-column table (iBooks)

Figures: Multi-column table with moderately reduced text (Adobe Digital Editions and iBooks).

Now to the actual optimization approach: process table entries row by row:

Consider the result for the first actual data row, row 2 of the original table, in the figures below.

We have thereby achieved:

Transposed table result (Adobe Digital Editions) Transposed table result (iBooks)

Figures: Transposed table result (Adobe Digital Editions and iBooks).

Finally, an overview of possible table treatments:

Table

First column

Column count

Cell content

Suggestion

Regular or with spanning cells

Any

< 6–8

Little content, no graphics

Ordinary HTML table

Regular or with spanning cells and graphics

Any

< 6–8

Little content, with graphics

Table as an image

Regular, without spanning cells

Semantic row heading

> 6–8

any

Transpose table automatically

With spanning cells

Any

> 6–8

any

Transpose partly manually; alternatively, table as an image

These rules are only guidelines: assess and handle each table individually.

   

 

 

 

back to top