xml spy
Previous  Top  Next
Setting CALS / HTML table attributes

Setting CALS / HTML table attributes:
Table attributes are defined in the underlying schema file, and are displayed in the Attributes entry helper.

·Click in the cell you want to customize, and select the respective attributes from the entry helper. A drop down dialog box appears if there are several entries to choose from.  
 
The cursor is currently in a cell which has been merged with the one below (join below), and the table data attributes (td) align=center and valign=top, have been defined.  
 
·You can directly resize the cell boundaries with the mouse, split and join cells, add or delete columns and rows, and format the cell contents.  

44-howto4  

To see the HTML tags and the table data:

·Click the Text view icon.  
 
The table elements, attributes and data are now visible. This is how they will be saved when you save the XML document. This has no effect on the sps template the XML document was created from; the data are stored in this XML file.  
44-howto5  

Differences between CALS and HTML tables:

There are some differences concerning the attributes that are available to both tables. The method used to insert them into the XML document remains the same however.

CALS table restrictions:
 
·The Table properties icon 44-ic-tbl-props is always inactive for CALS tables. None of the global table properties (table, row, column, cell) can therefore be set. E.g. align, bgcolor, border, rules etc.  
·Columns can only be split if they were previously joined. To achieve the same effect, click "Insert column" to insert a new column.  
·The height attribute cannot be specified in the Attributes entry helper, or by directly dragging a cell boundary.  
·Only one nested table is permissible, i.e. only one table in a table.  
·The default CALS "Title" element, is automatically inserted when the CALS table is created.  

Previous  Top  Next

© 2002 Altova