EAD (Encoded Archival Description ; Version 2002 Official Site)

Encoded Archival Description Tag Library, Version 2002

EAD Elements

<colspec> Table Column Specification

Description:

An empty formatting element that designates the position and size of a single column in a Table <table>. Attributes specify the unique name of the column, its unique number within the table, its width and rules, and the horizontal alignment of text within the column. The quantity of columns in a <table> is determined by the COLS attribute of the <tgroup> element, not by the number of <colspec>s defined. The values set for <colspec> override any values implied from <tgroup> or <thead> elements.

See also related elements <table> and <tgroup>.

May contain:

EMPTY

May occur within:

tgroup

Attributes:

ALIGN #IMPLIED, left, right, center, justify, char
CHAR #IMPLIED, CDATA
CHAROFF #IMPLIED, NMTOKEN
COLNAME #IMPLIED, NMTOKEN
COLNUM #IMPLIED, NMTOKEN
COLSEP #IMPLIED, NMTOKEN
COLWIDTH #IMPLIED, CDATA
ROWSEP #IMPLIED, NMTOKEN

Example:

    <table frame="none">
        <tgroup cols="3">
        <colspec colnum="1" colname="1" align="left" colwidth="50pt"/>
        <colspec colnum="2" colname="2" align="left" colwidth="50pt"/>
        <colspec colnum="3" colname="3" align="left" colwidth="50pt"/>
        <thead>
            <row>
                <entry colname="1">Major Family Members</entry>
                <entry colname="2">Spouses</entry>
                <entry colname="3">Children</entry>
            </row>
        </thead>
        <tbody>
            <row>
                <entry colname="1">John Albemarle (1760-1806)</entry>
                    <entry colname="2">Mary Frances Delaney (1769-1835)</entry>
                    <entry colname="3">John Delaney Albemarle (1787-1848)</entry>
                </row> . . .
            </tbody>
        </tgroup>
    </table>