## ISO Standards Tag Set (ISOSTS) version 1.0: A customization of NISO JATS version 0.4

#### International Organization for Standardization (ISO)

# <table-wrap>

# Table Wrapper

Wrapper element for a complete table, including the tabular material, caption (including title), footnotes, and alternative descriptions of the table for purposes of accessibility.

## Remarks

Complex tables may be accompanied by a graphic image showing the properly formatted table for use in environments where it is otherwise difficult to render the table correctly; see the example.

## Attributes

##### content-type Type of Content

##### id Identifier

##### orientation Orientation

##### originator Originator

##### position Position

##### specific-use Specific Use

##### xml:lang Language

## Model Description

The following, in order:

- <object-id> Object Identifier, zero or more
- <label> Label of a Figure, Reference, Etc., zero or one
- <caption> Caption of a Figure, Table, etc., zero or one
- Any combination of:
  - <alt-text> Title, Alternate
  - <long-desc> Long Description
  - <email> Email Address
  - <ext-link> External Link
  - <uri> Uniform Resource Indicator (URI)
- Any combination of:
  - <disp-quote> Quote, Displayed
  - <speech> Speech
  - <statement> Statement, Formal
  - <verse-group> Verse Form for Poetry
  - <def-list> Definition List
  - <list> List
  - <alternatives> Alternatives for Processing
  - <chem-struct-wrap> Chemical Structure Wrapper
  - <graphic> Graphic
  - <media> Media Object
  - <preformat> Preformatted Text
  - <non-normative-note> Non-normative Note
  - <non-normative-example> Non-normative Example
  - <table> Table (XHTML table model)
- Any combination of:
  - <table-wrap-foot> Table Wrapper Footer
  - <attrib> Attribution
  - <permissions> Permissions

### This element may be contained in:

<ack>, <app>, <app-group>, <bio>, <body>, <boxed-text>, <disp-quote>, <fig>, <glossary>, <license-p>, <named-content>, <non-normative-example>, <non-normative-note>, <notes>, <p>, <ref-list>, <sec>, <styled-content>, <supplementary-material>, <table-wrap-group>, <term-display>, <term-sec>

### Example

In the following example, the table is wrapped in an <alternatives> element together with a graphic showing the formatted table:

    ...

        <table-wrap>
          <alternatives>
    	<table rules="rows">
    	  <thead>
    	    <tr>
    	      <th>Color</th>
    	      <th>Size</th>
    	      <th>Price</th>
    	    </tr>
    	  </thead>

    	  <tbody>
    	    <tr>
    	      <td rowspan="3">Green</td>
    	      <td>small</td>
    	      <td>$3.25</td>
    	    </tr>
    	    <tr>
    	      <td>medium</td>
    	      <td>$2.25</td>
    	    </tr>

    	    <tr>
    	      <td>large</td>
    	      <td>$1.15</td>
    	    </tr>

    	    <tr>
    	      <td rowspan="3">Red</td>
    	      <td>small</td>
    	      <td>$3.25</td>
    	    </tr>

    	    <tr>
    	      <td>medium</td>
    	      <td>$5.25</td>
    	    </tr>

    	    <tr>
    	      <td>large</td>
    	      <td>$9.95</td>
    	    </tr>
    	  </tbody>
    	</table>
    	<graphic xlink:href="images/tablesample1">
    	  <alt-text>A table with columns for color, size, and price.</alt-text>
    	  <long-desc>The table has three columns, labeled "Color",
    	    "Size", and "Price".
    	    It has six rows; reading across, they are:
    	    Green, small, $3.25,
    	    Green, medium, $2.25,
    	    Green, large, $1.15;
    	    Red, small, $3.25,
    	    Red, medium, $5.25,
    	    Red, large, $9.95.
    	    (Tbe words "Green" and "Red" occur only once each, in an area
    	    three rows in height.)
    	  </long-desc>
    	</graphic>
          </alternatives>
        </table-wrap>

       ...

The graphic rendering of the table is:

## Module

JATS-display0.ent

## ISO Standards Tag Set (ISOSTS) version 1.0: A customization of NISO JATS version 0.4

#### Version of April 2012