Schema Central  >  CALS  >  soextblx.xsd  >  table
Advanced search

table

The table element markup identifies a table.

Elements inside a table may at times inherit default values from the attributes on the containing table. Furthermore, a table element may have some stylesheet associated with it that may provide default values for some or all of its attributes.

If a table element has no explicit specification for an attribute but does have an associated style sheet that gives a specification for this attribute, then the stylesheet value shall be used as the value that is inherited from this element.

Element information

Namespace: None

Schema document: soextblx.xsd

Type: Anonymous

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. title [0..1]
    2. tgroup [1..*]Each tgroup effectively identifies a new portion of a table. The colspecs and the colnames in each tgroup are independent of any other tgroup. The colspecs in a tgroup apply to its tbody. The colspecs in a tgroup shall be in left-to-right column order. Explicit colnums in the different colspecs of a tgroup shall be unique, in ascending order left-to-right, in the range 1 to the number of colspecs, which is not to exceed the value of the cols attribute of tgroup.

Attributes

NameOccTypeDescriptionNotes
frame [0..1]Anonymousouter table ruling. Describes position of outer rulings.
colsep [0..1]yesornocolumn separators (vertical ruling). Specifies the presence or absence of column separator rules. Provides the default value for all descendant elements.
rowsep [0..1]yesornorow separators (horizontal ruling). Specifies the presence or absence of row separator rules. Provides the default value for all descendant elements.
pgwide [0..1]yesornomake table span full page width. Describes the desired width of the table.

Sample instance

<table frame="all">
   <title>Sample Table</title>
   <tgroup cols="5" align="left" colsep="1" rowsep="1">
      <colspec colname="c1"/>
      <colspec colname="c2"/>
      <colspec colname="c3"/>
      <colspec colnum="5" colname="c5"/>
      <thead>
         <row>
            <entry namest="c1" nameend="c2" align="center">Horizontal Span</entry>
            <entry>a3</entry>
            <entry>a4</entry>
            <entry>a5</entry>
         </row>
      </thead>
      <tfoot>
         <row>
            <entry>f1</entry>
            <entry>f2</entry>
            <entry>f3</entry>
            <entry>f4</entry>
            <entry>f5</entry>
         </row>
      </tfoot>
      <tbody>
         <row>
            <entry>b1</entry>
            <entry>b2</entry>
            <entry>b3</entry>
            <entry>b4</entry>
            <entry morerows="1" valign="middle">
               <para>
                        Vertical Span</para>
            </entry>
         </row>
         <row>
            <entry>c1</entry>
            <entry namest="c2"
                   nameend="c3"
                   align="center"
                   morerows="1"
                   valign="bottom">Span Both</entry>
            <entry>c4</entry>
         </row>
         <row>
            <entry>d1</entry>
            <entry>d4</entry>
            <entry>d5</entry>
         </row>
      </tbody>
   </tgroup>
</table>