Summary: A thorough explanation of inserting tables into your Connexions content using Edit-in-Place.
Adding a Table using Edit-in-Place
Figure 1 |
Resize table button will reset the entries to their default values.Editing Entries of a CALS Table
Figure 2 |
table tag marks the beginning of a table.
It has an optional first child of name (as you can see in the Edit-in-Place interface) and must contain one or more
tgroup tags. The Edit-in-Place interface, however, only supports the utilization of one tgroup. The
table tag also has many attributes, to find out
more information consult the CALS Table
Spec.
tgroup tag marks the beginning of a new
portion of a table. It has a
required attribute cols which is the number of
columns in the tgroup; as mentioned previously, this attribute can be set using the Edit-in-Place interface. Its children tags are
zero, one, or more colspec or
spanspec, zero or one thead or tfoot, and one tbody tag.
entrytbl tag takes the place of an entry, but fits into a single row of tbody in a tgroup. The content model is the
same as that of a tgroup except
that tfoot is ommitted and
entrytbl is self-excluding. Its children tags
are zero, one, or more colspec
or spanspec, zero or one
thead or tfoot, and one tbody tag.
Figure 3 |
<thead>
<row>
<entry>Month</entry>
<entry>Flower</entry>
</row>
</thead>
<tbody>
<row>
<entry align="center">January</entry>
<entry align="center">Carnation</entry>
</row>
<row>
<entry align="center">February</entry>
<entry align="center">Violet</entry>
</row>
<row>
<entry align="center">March</entry>
<entry align="center">Daffodil</entry>
</row>
<row>
<entry align="center">April</entry>
<entry align="center">Sweet Pea</entry>
</row>
<row>
<entry align="center">May</entry>
<entry align="center">Sunflower</entry>
</row>
<row>
<entry>June</entry>
<entry>Honeysuckle</entry>
</row>
<row>
<entry>July</entry>
<entry>Larkspur</entry>
</row>
<row>
<entry>August</entry>
<entry>Lily</entry>
</row>
<row>
<entry>September</entry>
<entry>Forget-Me-Not</entry>
</row>
<row>
<entry>October</entry>
<entry>Marigold</entry>
</row>
<row>
<entry>November</entry>
<entry>Chrysanthemum</entry>
</row>
<row>
<entry>December</entry>
<entry>Narcissus</entry>
</row>
</tbody>| Month | Flower |
|---|---|
| January | Carnation |
| February | Violet |
| March | Daffodil |
| April | Sweet Pea |
| May | Sunflower |
| June | Honeysuckle |
| July | Larkspur |
| August | Lily |
| September | Forget-Me-Not |
| October | Marigold |
| November | Chrysanthemum |
| December | Narcissus |