spanspec — Formatting information for a spanned column in a table.


spanspec ::=

  • empty


Common attributes and common linking attributes.

Additional attributes:

  • align (enumeration)
    • “center”
    • “char”
    • “justify”
    • “left”
    • “right”
  • char
  • charoff (decimal)
  • colsep (enumeration)
    • “0”
    • “1”
  • nameend
  • namest
  • rowsep (enumeration)
    • “0”
    • “1”
  • spanname

Required attributes are shown in bold.


A spanspec associates a name with a span between two columns in a table. In the body of the table, cells can refer to the span by name. Cells that refer to a span will span horizontally from the first column to the last column, inclusive.

Cells can also form spans directly, by naming the start and end columns themselves. The added benefit of a spanspec is that it can associate formatting information (such as alignment and table rule specifications) with the span. This information does not need to be repeated then, on each spanning cell.

Processing expectations

Suppressed. This element is expected to obey the semantics of the CALS Table Model Document Type Definition [calsdtd].

The namest and nameend attributes of a spanspec must refer to named colspecs in the same table. In other words, if the spanspec:

t<spanspec spanname="fullyear" namest="jan" nameend="dec"/>

exists in a table, colspecs named “jan” and “dec” must also exist in the same table.


Common attributes and common linking attributes.


Specifies the horizontal alignment of text in an entry.

Enumerated values:



Aligned on a particular character.


Left and right justified.


Left justified.


Right justified.


Specifies the alignment character when align is set to “char” .


Specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in char when align is set to “char” .


Specifies the presence or absence of the column separator

Enumerated values:

No column separator rule.


Provide a column separator rule on the right


Specifies an ending column by name.


Specifies a starting column by name.


Specifies the presence or absence of the row separator

Enumerated values:

No row separator rule.


Provide a row separator rule below


Provides a name for a span specification.


These elements contain spanspec: entrytbl, tgroup.

Last revised by Norman Walsh on (git hash: c3457cab689d8fd89ba4252de204cf9a14e40acd 6a501344525f32f9834f0e4a5c3c3f8131803fa4 47fe34b28bad7941a61b9c1c17d47f6eed36cd04)