char Table Cell Alignment Character (OASIS Table Model)

The character to be used in horizontal text alignment of the contents of an entry in a table. The content of a table cell is to be aligned horizontally based on the character named in this attribute, for example, alignment on a period for decimal alignment or on an equal sign for alignment of variables.

Usage/Remarks

Character alignment is set using three attributes:
  1. @align is set to “char”;
  2. @char contains the character to use for the aligning, for example, a decimal point “.” or equal sign “=”; and
  3. @charoff contains the percent of the current column width to the left of the (left edge of the) alignment character, for example, “30”.
The official OASIS Exchange (CALS) Table Model documentation can be found at http://www.oasis-open.org/specs/a502.htm
OPTIONAL on elements: <oasis:colspec>, <oasis:entry>
Value Meaning Behavior
A data character or group of characters Text, numbers, or special characters that will be used for alignment When used in conjunction with the attribute align="char", the contents of the table entry are aligned relative to the character specified by this attribute.
Restriction Inherited from <oasis:colspec> when available; otherwise, there is no value.
Tagged Sample

Last <entry> shows @char and @charoff used to creat decimal alignment

...
<oasis:row>
<oasis:entry>Comprehensive care (5 trials)</oasis:entry>
<oasis:entry align="center">151/597</oasis:entry>
<oasis:entry align="center">159/584</oasis:entry>
<oasis:entry align="center">0.91 (0.70 to 1.19)</oasis:entry>
<oasis:entry></oasis:entry>
<oasis:entry align="center">20.5</oasis:entry>
<oasis:entry align="char" char="." charoff="30">21.4</oasis:entry>
</oasis:row>
...