Text Encoding Initiative

The XML Version of the TEI Guidelines

<cell>


<cell> contains one cell of a table.
Attributes (In addition to global attributes)
role indicates the kind of information held in the cell.
Datatype: CDATA
Suggested values include:
label labelling or descriptive information only.
data data values.
Default: data
Note

The value specified overrides any default specified by the role attribute of the parent <row> element, for this cell only.

rows indicates the number of rows occupied by this cell.
Datatype: CDATA
Values: A number; a value greater than one indicates that this cell spans several rows.
Default: 1
Note

Where several cells span several rows, it may be more convenient to use nested tables.

cols indicates the number of columns occupied by this cell.
Datatype: CDATA
Values: A number; a value greater than one indicates that this cell spans several columns.
Default: 1
Note

Where an initial cell spans an entire row, it should be treated as a heading.

Example
<row>
   <cell role="label">General conduct</cell>
   <cell role="data">Not satisfactory, on account of his great unpunctuality
                     and inattention to duties</cell>
</row>
Module Declared in file teifig2; Additional tag set for figures, tables and formulae: enabled by TEI.figures
May contain #PCDATA abbr add addSpan address alt altGrp anchor app bibl biblFull biblStruct c caesura camera caption castList cb certainty cit cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib figure foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp label lang lb link linkGrp list listBibl m measure mentioned milestone move name note num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr q quote ref reg respons restore rs s seg sic soCalled sound space span spanGrp stage supplied table tech term text time timeRange timeStruct timeline title unclear view w witDetail xptr xref
May occur within row
Declaration
<!ELEMENT cell %om.RO; %paraContent;> 
<!ATTLIST cell  
      %a.global;
      role CDATA "data"
      rows CDATA "1"
      cols CDATA "1">
See further 22.1.1 The TEI Table DTD

Up: 35 Elements