2.4.1.19 Table Control

A table control is used to ensure that elements of the form are positioned according to the requirements of the form designer. A TABLE MUST have one of the symbols in the following table.

Symbol

Description

TABLE

Table maps to a standard html layout table as specified by [HTML] section 11.2.1. Each cell can contain arbitrary html or more controls.

TABLE_COLUMN

Maps to the html col element as specified by [HTML] section 11.2.4.

TABLE_ROW

Maps to the html tr element as specified by [HTML] section 11.2.5.

TABLE_CELL

Maps to the html td element as specified by [HTML] section 11.2.6.

TABLE:

 <table class="(xdFormLayout)? xdLayout" style="STYLE_BORDER_STYLE?; STYLE_BORDER_COLLAPSE? TABLE-LAYOUT: fixed; STYLE_WIDTH?; WORD-WRAP: break-word" (borderColor="buttontext")? WIDTH? border="1">
     <colgroup>
         TABLE_COLUMN+
     </colgroup>
     <tbody (valign="VALIGN")?>
         TABLE_ROW*
     </tbody>
 </table>

TABLE_COLUMN:

 <col style="STYLE_WIDTH" />
  
 TABLE_ROW ::= 
 <tr (class="primaryVeryDark" | class="primarylight")? (style="MIN_HEIGHT")?>
     (<xsl:attribute name="style">
         <xsl:if test="BOOLEAN_XPATH_EXPRESSION">STYLE_DISABLE_CHILD_XML_TO_EDIT</xsl:if>
     </xsl:attribute>)?
     (TABLE_CELL)+
 </tr>
  
 TABLE_CELL ::= 
 <td (rowSpan="ROWSPAN")? (colSpan="COLSPAN")? (xd:layoutText="ANY_STRING")? (valign="VALIGN")? (style="TABLE_CELL_STYLE")?>
     XML_HTML_4_1_WITH_CONTROLS
 </td>

TABLE_CELL_STYLE: Semicolon-delimited list of (STYLE_BORDER?, STYLE_MARGIN?, STYLE_PADDING?, STYLE_VERTICAL_ALIGN?, STYLE_BACKGROUND_COLOR?, STYLE_TEXT_ALIGN?)

Xd:layoutText, as specified in section 2.4.2.22, is the control-specific attribute used by the table control.